Zum Hauptinhalt springen
GET
Get bookings linked to an order

Autorisierungen

Authorization
string
header
erforderlich

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

Pfadparameter

order_id
string
erforderlich

The order identifier.

Abfrageparameter

include
enum<string>
Verfügbare Optionen:
resource.parent,
order.customer,
customer,
service
page[number]
string
page[size]
string
sort
string
o
string

Organization ID

Antwort

200 - application/vnd.api+json

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