Skip to main content
PATCH
Update a specific booking

Autorisierungen

Authorization
string
header
erforderlich

The access token received from the authorization server in the OAuth 2.0 flow.

Header

Authorization
string
erforderlich

Bearer Token

Content-Type
string
Standard:application/vnd.api+json

Pfadparameter

booking_id
string
erforderlich

Abfrageparameter

o
string

Organization ID

Body

application/json
data
Booking · object

A booking blocks the related resource from start_date until its end_date while its status is reserved, requested or accepted.

Status values:

  • reserved — booking is reserved until order expiration
  • requested — needs manual acceptance by admin
  • accepted — accepted (automatically or manually)
  • rejected — rejected by admin before fulfillment; always yields a 100% refund when payment exists
  • canceled — canceled by customer or admin; refund follows the configured cancellation policy conditions
  • expired — booking expired because the check-in time passed without check-in

Antwort

OK

data
Booking · object

A booking blocks the related resource from start_date until its end_date while its status is reserved, requested or accepted.

Status values:

  • reserved — booking is reserved until order expiration
  • requested — needs manual acceptance by admin
  • accepted — accepted (automatically or manually)
  • rejected — rejected by admin before fulfillment; always yields a 100% refund when payment exists
  • canceled — canceled by customer or admin; refund follows the configured cancellation policy conditions
  • expired — booking expired because the check-in time passed without check-in