mandates

Prepare a booking draft (the proposal shown to the user)

Creates an immutable booking proposal with an opaque draft id. Validates live availability (the slot must be genuinely free now) and the service's customer requirements. Show this draft to the user as the final proposal before asking for consent.

post/booking-drafts

Request

  • Base URL: https://agentbookable.com
  • URL: https://agentbookable.com/booking-drafts
  • Auth: none declared

Request body

businessIdstring required
serviceIdstring required
slotIdstring

Slot id from the availability call (preferred)

customerCustomer required(unresolved $ref)
actorRefstring required

Your agent/session identifier for the audit trail

Response

Draft created — show it to the user and obtain consent

idstring
businessIdstring
serviceIdstring
serviceNamestring
startstring
endstring
durationMinutesinteger
timezonestring
staffIdstring nullable
customerCustomer (unresolved $ref)
expiresAtstring

Drafts expire after 30 minutes

Changes

No recorded changes to this operation across all 1 revision of this API.