Skip to content

Orders details

Request

This endpoint returns basic information for orders filtered according to the input.

Security
BearerAuth
Headers
X-Affiliate-Idintegerrequired

Include here your Affiliate identifier number

Bodyapplication/json
One of:
updatedobject(OrderDetailsDatetimeFilterInput)required

Filtering orders by time range on basis of order "created" or "updated" time. Maximum time range is 7 days (1 week).

currencystring^[A-Z]{3}$required

A three-letter code that uniquely identifies a monetary currency as defined by the ISO 4217 standard. The full list can be obtained by calling common/payments/currencies.

Example:"EUR"
maximum_resultsinteger, multiple of 10, [ 10 .. 100 ]

The maximum number of results to return.

Default:100
sortobject(OrderDetailsSortInput)

The sorting parameters for the response.

extrasArray of strings

Input parameter to request for additional information about this order.

Items Value:"payment"
servicesArray of strings

Filter orders by included services.

Items Enum:"accommodations""cars""flights"
curl -i -X POST \
  https://demandapi.booking.com/3.1/orders/details \
  -H 'Authorization: Bearer <YOUR_string_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Affiliate-Id: 0' \
  -d '{
    "created": {
      "from": "2025-07-28T02:00:00+00:00",
      "to": "2025-07-28T02:00:00+00:00"
    },
    "currency": "EUR",
    "maximum_results": 20,
    "sort": {
      "by": "updated",
      "direction": "descending"
    },
    "extras": [
      "payment"
    ]
  }'

Responses

Successful response.

Bodyapplication/json
dataArray of objects(OrderDetailsDataOutput)
metadataobject(MetadataOutput)

Metadata about the request.

request_idstring

Uniquely identifies the request. Please provide this identifier when contacting support.

Response
{ "request_id": "01fr9ez700exycb98w90w5r9sh", "data": [ { … } ], "metadata": { "next_page": null, "total_results": 1 } }