Replace a booking's metadata
patch/bookings/{id}
Replace a booking's metadata: the caller's own data on it, such as a trip's reference. Written with a key; people see it read-only.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:write- Graphql
Mutation.bookingsBookingUpdate- Sdk
bookings.booking.update- Cli
bookings booking update
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- metadataobjectrequired
Responses
- 200application/jsonSuccess
- idstringrequired
- serviceIdstringrequired
- locationIdstring or nullrequired
- statestringrequired
- startstringrequired
- endstringrequired
- zonestringrequired
- partySizenumberrequired
- contactIdstring or nullrequired
- channelstringrequired
- priceMinornumberrequired
- currencystringrequired
- depositMinornumberrequired
- paidMinornumberrequired
- resourceIdslist of stringrequired
- versionnumberrequired
- createdAtstringrequired
- updatedAtstringrequired
- cancelledAtstring or nullrequired
- cancelReasonstring or nullrequired
- cancelledBystring or nullrequired
- metadataobjectrequired
- platformCustomerstring or nullrequired
- noticesstringrequired
- 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