This api can be used to create a booking using external_id as main primary key. ATTENTION: this api will handle multiple request using same external_id. If you send at the same time 2 requests with the same external_id, 2 different bookings will be created. You must handle the true unique constraint of the value.
This api will use external_id as primary key, will ignore id of the booking. If a booking with the external_id is found, will be updated, otherwise will be created. In bookings you need to set a customer_id, in this api setting the booking_customer with the unique uuid will use the reference of the original customer already present.
If customer is not found a new one will be created. Customer constraint must be followed in any case. uuid is always required as well or the company_name or first_name + lastname. If the uuid exists, data of the customer will NOT be overwritten.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
422Error: Unprocessable Entity

