Bookings platform hold
post/bookings/holds/batch
Hold places in several businesses at once, all or none (409 batch_failed naming the items that could not be held). owner is the platform's own name for who holds (a conversation, a page, an assistant); the same owner holding again releases what it held before. Each holdId books in its business as holdId on POST /bookings; one expiry for all.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:write- Graphql
Mutation.bookingsPlatformHold- Sdk
bookings.platform.hold- Cli
bookings platform hold
Request bodyapplication/json, required
- ownerstringrequiredAt most 200 characters.
- itemslist of objectrequired
- businessstring (uuid)required
- serviceIdstring (uuid)required
- startstring (date-time)required
- durationMinutesintegerAt least 5. At most 1440.
- partySizeintegerDefault: 1. At least 1. At most 10000.
- sessionIdstring (uuid)
- holdMinutesintegerAt least 1. At most 1440.
- idempotencyKeystringrequiredAt most 120 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring