Skip to content

Modify an order

Request

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).

Security
BearerAuth
Bodyapplication/json
One of:
orderstringrequired

Order ID to be modified

modificationobjectrequired
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"
      }
    }
  }'

Responses

Successful modification

Bodyapplication/json
One of:
modificationobject
Response
{ "modification": { "accommodation": { … } } }