curl -i -X POST \
https://demandapi.booking.com/3.2/orders/create \
-H 'Authorization: Bearer <YOUR_string_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-Affiliate-Id: 0' \
-d '{
"accommodation": {
"label": "string",
"products": [
{
"id": "string",
"bed_configuration": "string",
"guests": [
{
"email": "string",
"name": "string"
}
]
}
],
"remarks": {
"estimated_arrival_time": {
"hour": 23,
"next_day": "false"
},
"special_requests": "string"
}
},
"car": {
"driver": {
"address": {
"address_line1": "string",
"address_line2": "string",
"city": "string",
"country": "string",
"postcode": "string"
},
"first_name": "string",
"last_name": "string",
"telephone": "string",
"title": "string"
},
"label": "string",
"required": null
},
"booker": {
"address": {
"address_line": "string",
"city": "string",
"country": "nl",
"post_code": "string"
},
"company": "string",
"email": "string",
"language": "en-us",
"name": {
"first_name": "string",
"last_name": "string"
},
"telephone": "string"
},
"order_token": "string",
"payment": {
"airplus": {
"dbi": {
"accounting_code": "string",
"accounting_unit": "string",
"cost_centre": "string",
"department_code": "string",
"employee_number": "string",
"internal_account": "string",
"order_number": "string",
"project_number": "string"
},
"number": "string"
},
"business_information": {
"authorisation_form": {
"chargeable_items": [
"alcohol"
]
},
"billing": {
"address": {
"address_line": "string",
"city": "string",
"country": "nl",
"post_code": "string"
},
"email": "string",
"vat": "string"
},
"company": "string"
},
"card": {
"authentication": {
"riskified": {
"ip_address": "192.168.0.1",
"session_id": "string"
},
"sca_exemption": "moto",
"3d_secure": {
"authentication_value": "string",
"eci": "string",
"transaction": "string"
}
},
"cardholder": "string",
"cvc": "string",
"expiry_date": "string",
"number": "string"
},
"include_receipt": true,
"method": "airplus",
"timing": "pay_at_the_property"
}
}'