latestOpenAPI 3.1.02026-08-10390815.4 KB
e5f3dccae7ca
Orders
Preview an order
This endpoint returns the total final price with final charges, as well as the price breakdown and payment/cancellation policies for each product passed in the input.
post/orders/preview
Headers
X-Affiliate-Idinteger required
Include here your Affiliate identifier number
Request body
Example request
{
"currency": "EUR"
}Response
Successful response.
Example response
{
"data": {
"accommodation": {
"currency": {
"accommodation": "EUR",
"booker": "EUR"
},
"products": [
{
"occupancy_mismatch": {
"allocated": {
"number_of_adults": 1,
"children": null
},
"unallocated": {
"number_of_adults": 1,
"children": null
}
}
}
]
}
}
}