Use this endpoint to modify certain aspects of an accommodation order, such as credit card details, checkin/checkout dates, and room configurations (guest allocation, guest names, and smoking preferences).
- See the Orders modification guide for examples and best practices.
Security
BearerAuth
- Production environmenthttps://demandapi.booking.com/3.1/orders/modify
- Sandbox environmenthttps://demandapi-sandbox.booking.com/3.1/orders/modify
curl -i -X POST \
https://demandapi.booking.com/3.1/orders/modify \
-H 'Authorization: Bearer <YOUR_string_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"order": "string",
"modification": {
"accommodation": {
"reservation": 0,
"change": {
"checkin": "2019-08-24",
"checkout": "2019-08-24"
},
"type": "dates"
}
}
}'