Cancel a booking
Cancels a booking that is not already canceled. The customer is notified and booking.canceled fires.
apiKeyAuthorizationBearer <token>A store API key from Settings → Developers → API keys, sent as Authorization: Bearer zk_live_….
id*stringThe resource id
uuidIdempotency-Key?stringA unique value (e.g. a UUID) per change. Retrying with the same key returns the first result instead of applying the change twice. Kept for 24 hours.
length <= 255Success
application/json- response
id*stringstatus*string"pending""accepted""canceled""initiated"date*stringYYYY-MM-DD
time*stringHH:mm in the booking timezone
timezone*stringduration_minutes*integermeeting_method*stringmeeting_link*stringorder_id*stringproduct_id*stringproduct_name*stringcustomer*created_at*stringISO 8601 timestamp
object*"booking""booking"curl -X POST "https://example.com/bookings/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel"{ "id": "00000000-0000-4000-8000-000000000401", "status": "canceled", "date": "2026-10-12", "time": "14:00", "timezone": "Asia/Riyadh", "duration_minutes": 60, "meeting_method": "zoom", "meeting_link": "https://zoom.us/j/0000000000", "order_id": "00000000-0000-4000-8000-000000000001", "product_id": "00000000-0000-4000-8000-000000000203", "product_name": "1:1 Business Consultation", "customer": { "id": "00000000-0000-4000-8000-000000000010", "name": "Sara Ahmed", "email": "sara@example.com", "phone": "+966500000000" }, "created_at": "2026-10-01T10:00:00.000Z", "object": "booking"}Accept a booking POST
Accepts a pending booking. Works only while the booking is `pending` or `initiated`. The customer is notified and `booking.accepted` fires.
List products GET
Lists the store's products, newest first, each with its variants, prices and stock. Deleted products and variants are left out. Filter by status, type, SKU or date.