Skip to main content
POST
Add booking to order

Abfrageparameter

include
enum<string>

Allows to include allowed resources in the response

Verfügbare Optionen:
customer,
customer.address,
invoice,
invoice.items,
customer,
voucher,
bookings,
bookings.service,
bookings.booking_add_ons.add_on,
bookings.sub_bookings.resource,
bookings.sub_bookings.service,
bookings.resource.organization,
bookings.resource,
bookings.resource.cover_image,
bookings.resource.organization.legal_documents

Body

application/vnd.api+json
resource_id
string
erforderlich

id of the resource that should be booked

start_date
string<date>
erforderlich

atomic date time string

end_date
string<date-time>
erforderlich

atomic date time string

service_id
string

Id of the service which should be booked. When no id is provided, the default service is taken.

description
string

The description which will be associated with the bookings resource. It is conditionally required.

customer_note
string

A note from the customer which is attented to the booking

booking_add_ons
object[]

List of add ons

sub_bookings
object[]

List of sub bookings

quantity
number

Antwort

200 - application/vnd.api+json

OK

data
Order · object

An order groups one or more bookings into a single transaction with payment and invoicing.