Bookings
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.
apiKeyheader
AuthorizationBearer <token>A store API key from Settings → Developers → API keys, sent as Authorization: Bearer zk_live_….
id*stringThe resource id
Format
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
length <= 255Success
application/json- response
id*stringstatus*stringValue in
"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"Value in
"booking"curl -X POST "https://example.com/bookings/497f6eca-6276-4993-bfeb-53cbbbba6f08/accept"{ "id": "00000000-0000-4000-8000-000000000401", "status": "accepted", "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"}