Sell more than one booking together in a cart
To use this capability add
This capability gives you the ability to book multiple bookings from the same supplier together in a single "cart". In Ventrata we call a "cart" an "order", and that's what it will be referred to in the rest of this document.
This capability adds the following fields to the booking response:
When using this capability if you omit the
orderIdfrom the original request Ventrata will create a new order (cart) for you behind the scenes and return the
orderIdin the response. You can then re-use this
orderIdin any future booking requests and the bookings will all get added to the same order.
The Order object has the following fields:
The order ID. Use this for future booking reservation requests.
The status of the order. Possible values are:
The ISO8601 in UTC when the order will expire.
The ISO8601 in UTC when the order was confirmed.
An array of booking objects within this order
This is the guest contact information, previously this was on the booking
A typical request body would be:
"fullName": "Oliver Morgan",
"emailAddress": "[email protected]",
"locales": ["en-GB", "en-US", "en"],
If you're using the cart capability and want to set a
resellerReferenceyou should do so as a booking update as there are no reseller references on the order level.
Once you call this method, each of the bookings contained within the order will be confirmed too.
This endpoint is the same as cancelling the booking except it's on the order level.
Last modified 4mo ago