ShopEazydevelopers
API referenceMerchant API BetaBookings

The bookings (lines with a time) on an order

Beta
Credentials
  • OAuth access token
Scopes
bookings:write
GET
/v1/merchant/stores/{storeId}/orders/{orderId}/bookings

Access: OAuth scope bookings:write; not write-gated.

Authorization

merchantOAuth bookings:write
headerAuthorizationBearer <token>

OAuth 2.1 (authorization code + PKCE S256, public clients, dynamic registration) for connected AI apps. Effective power is scopes granted AND the person's role today AND the plan. orders:refund, billing:write and team:write are opt-in on the consent screen. Write implies read for marketing:read and messages:read, so a grant holding marketing:write passes a marketing:read check, and messages:send passes messages:read.

Scope: bookings:write

Path Parameters

storeId*string

A store the person can reach. Any other id answers 404, never 403.

orderId*string

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/orders/<orderId>/bookings' \  -H 'Authorization: Bearer <access_token>'
Example Response
{  "data": {    "orderId": "riEhGrBxE2kF04RzXyaz",    "number": "ORD-00001",    "customerName": "Thandi Mokoena",    "customerEmail": "thandi.mokoena@example.com",    "lines": []  }}