The bookings (lines with a time) on an order
- Credentials
- OAuth access token
- Scopes
bookings:write
Access: OAuth scope bookings:write; not write-gated.
merchantOAuth bookings:writeAuthorizationBearer <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
storeId*stringA store the person can reach. Any other id answers 404, never 403.
orderId*stringOK
application/json- response
data*curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/orders/<orderId>/bookings' \ -H 'Authorization: Bearer <access_token>'{ "data": { "orderId": "riEhGrBxE2kF04RzXyaz", "number": "ORD-00001", "customerName": "Thandi Mokoena", "customerEmail": "thandi.mokoena@example.com", "lines": [] }}Free times for a service, or departures for a tour GET
Dates are `YYYY-MM-DD` in SA time. Give `date`, or `from` and `to`; with none, the next 14 days. Access: OAuth scope `orders:read`; not write-gated.
Move a booking to another open time POST
Frees the old place and holds the new one in one step, then emails the customer. Access: OAuth scope `bookings:write`; write-gated by the subscription.