# Depots

`POST /cars/depots`

> This is a subset of the full specification, limited to the `POST /cars/depots` operation.
>
> You can find the full specification here: /_bundle/demand/docs/open-api/demand-api.yaml

```yaml
openapi: 3.1.0
info:
  title: Booking.com Demand API
  version: '3.1'
  summary: |
    > ⚠️ **Demand API v3.1 is in maintenance mode**. No new features or capabilities will be added to this version; updates are limited to bug fixes. For new integrations or access to the latest features, use the latest stable version.

    Use Demand API v3.1 to search, retrieve details, check accommodation availability, manage bookings and run reports using orders details.

    - RESTful API with JSON responses.
    - Make HTTPS POST requests to interact with endpoints.
    - Requires authentication using your Affiliate ID and token credentials.
  description: This is a subset of the full specification, limited to the `POST /cars/depots` operation.
servers:
  - url: https://demandapi.booking.com/3.1
    description: Production environment
  - url: https://demandapi-sandbox.booking.com/3.1
    description: Sandbox environment
security:
  - BearerAuth: []
tags:
  - name: Cars
    x-displayName: Car rentals
    description: This API collection is specific to the car rentals part of the connected trip.</br></br> Use these endpoints to search for car rentals, check car details and look for depots and suppliers.
x-tagGroups:
  - name: Travel services
    tags:
      - Cars
paths:
  /cars/depots:
    post:
      description: Use this endpoint to retrieve the list of all available car rental depots.
      summary: Depots
      operationId: /depots
      parameters:
        - $ref: '#/components/parameters/AffiliateIdHeader'
      tags:
        - Cars
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                last_modified:
                  description: The last modified date-time, only returns depots newer than this timestamp.
                  example: '2025-11-01T11:05:00+00:00'
                  format: date-time
                  type: string
                maximum_results:
                  description: The maximum number of results to return.
                  type: integer
                  multipleOf: 10
                  minimum: 10
                  maximum: 100
                  default: 100
                languages:
                  type: array
                  items:
                    description: 'A [IETF language tag code](https://en.wikipedia.org/wiki/IETF_language_tag) that uniquely identifies a supported human language or dialect. **Note:** Demand API only accepts lowercase for the language codes. Examples: "nl" for Dutch/Nederlands or "en-us" for English (US). To retrieve the full list of supported languages, call the `/common/languages` endpoint in the same Demand API version you are using.'
                    type: string
                    pattern: ^[a-z]{2}(-[a-z]{2})?$
                    example: en-us
                  default:
                    - en-gb
                page:
                  description: Pagination token used to retrieve the next page of results. Obtained from `next_page`.
                  type: string
            example:
              last_modified: '2025-11-01T11:05:00+00:00'
              maximum_results: 100
              languages:
                - en-gb
                - nl
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  request_id:
                    description: Uniquely identifies the request. Please provide this identifier when contacting support.
                    type: string
                  data:
                    type: array
                    items:
                      description: All static information related to car rental depot.
                      properties:
                        id:
                          description: Unique depot's ID.
                          type: integer
                          minimum: 1
                          example: 5944
                        contact:
                          description: Contact information of the depot. It can be `null` if the data is missing.
                          type: object
                          properties:
                            email:
                              description: Email address of the depot. It can be `null` if the data is missing.
                              example: depot@test.booking.com
                              type:
                                - string
                                - 'null'
                            telephone:
                              description: Telephone number of the depot. It can be `null` if the data is missing.
                              example: '+31882847620'
                              type:
                                - string
                                - 'null'
                        city:
                          description: A signed integer number that uniquely identifies a city. You can see the full list of cities ids calling common/locations/cities.
                          type: integer
                          example: -1471393
                        drop_off:
                          description: Contains rented car drop off information.
                          properties:
                            instructions:
                              description: Drop off/pick up instructions.
                              title: TranslatedString
                              type:
                                - object
                                - 'null'
                              patternProperties:
                                ^[a-z]{2}(-[a-z]{2})$:
                                  description: The content localised in this language.
                                  type:
                                    - string
                                    - 'null'
                            working_hours:
                              description: Depot's working hours.
                              patternProperties:
                                ^(monday|tuesday|wednesday|thursday|friday|saturday|sunday)$:
                                  description: Day working hours.
                                  items:
                                    description: Describes depot working hours.
                                    properties:
                                      closing_time:
                                        description: Depot's closing time
                                        example: '21:00'
                                        format: time
                                        type: string
                                      opening_time:
                                        description: Depot's opening time.
                                        example: '07:00'
                                        format: time
                                        type: string
                                    type: object
                                  type: array
                              type:
                                - object
                                - 'null'
                          type: object
                        location:
                          description: Depot location information.
                          properties:
                            address:
                              description: Depot address information.
                              example: 5 Aankomstpassage
                              type:
                                - string
                                - 'null'
                            airport:
                              description: Airport IATA code.
                              example: AMS
                              type:
                                - string
                                - 'null'
                            city:
                              description: A signed integer number that uniquely identifies a city. The full list can be obtained by calling <a href="/demand/docs/open-api/demand-api/commonlocations/common/locations/cities" target="_blank">common/locations/cities</a>.
                              type: integer
                            depot_location_type:
                              description: Indicates the specific type of location where the car rental depot is situated. This helps you accurately inform travellers about the nature of the pick-up point—whether it's located inside an airport terminal, at a train station, in a downtown area, or elsewhere. This field is optional and may be null if the location type is not defined.
                              type: string
                              enum:
                                - in_terminal
                                - car_rental_centre
                                - outside_terminal
                                - airport_hotel
                                - shuttle_bus
                                - meet_greet
                                - trainstation
                                - downtown
                              x-enum-descriptions:
                                - Depot is located inside the airport terminal building.
                                - Depot is located in a dedicated car rental centre on or near airport grounds.
                                - Depot is outside the terminal area, usually a short walk or drive away.
                                - Depot is located at or inside an airport hotel.
                                - Depot requires a shuttle bus transfer from the airport or another meeting point.
                                - A rental agent meets the traveller in person at an agreed pick-up point (e.g., arrivals hall).
                                - Depot is located in or near a train station.
                                - Depot is located in a central/downtown city area.
                              nullable: true
                            coordinates:
                              title: Coordinates
                              type: object
                              properties:
                                latitude:
                                  type: number
                                  format: double
                                longitude:
                                  type: number
                                  format: double
                            country:
                              description: 'A two-letter code that uniquely identifies a country. This code is defined by the ISO 3166-1 alpha-2 standard (ISO2) as described here: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2. The full list can be obtained by calling <a href="/demand/docs/open-api/demand-api/commonlocations/common/locations/countries" target="_blank">common/locations/countries</a>.'
                              type: string
                              pattern: ^[a-z]{2}$
                              example: nl
                            name:
                              description: Translated depot name.
                              example: Amsterdam Airport Schiphol - Terminal 3
                              title: TranslatedString
                              type: object
                              patternProperties:
                                ^[a-z]{2}(-[a-z]{2})$:
                                  description: The content localised in this language.
                                  type:
                                    - string
                                    - 'null'
                            post_code:
                              description: Depot post code
                              example: 1118 AX
                              type: string
                          type: object
                        pick_up:
                          description: Contains rented car pick up information.
                          properties:
                            instructions:
                              description: Drop off/pick up instructions.
                              title: TranslatedString
                              type:
                                - object
                                - 'null'
                              patternProperties:
                                ^[a-z]{2}(-[a-z]{2})$:
                                  description: The content localised in this language.
                                  type:
                                    - string
                                    - 'null'
                            working_hours:
                              description: Depot's working hours.
                              patternProperties:
                                ^(monday|tuesday|wednesday|thursday|friday|saturday|sunday)$:
                                  description: Day working hours.
                                  items:
                                    description: Describes depot working hours.
                                    properties:
                                      closing_time:
                                        description: Depot's closing time
                                        example: '21:00'
                                        format: time
                                        type: string
                                      opening_time:
                                        description: Depot's opening time.
                                        example: '07:00'
                                        format: time
                                        type: string
                                    type: object
                                  type: array
                              type: object
                          type: object
                        services:
                          description: List of services provided by the depot.
                          type: array
                          items:
                            type: string
                            enum:
                              - shuttle
                              - meet_greet
                              - unknown
                        supplier:
                          description: Related supplier id
                          type: integer
                          minimum: 1
                        ratings:
                          description: Number of reviews and average score for the depot.
                          type:
                            - object
                            - 'null'
                          properties:
                            number_of_reviews:
                              nullable: false
                              description: Number of validated reviews for this depot.
                              type: integer
                              minimum: 0
                            score:
                              nullable: false
                              description: A decimal number indicating the current review score of this depot, in the range 1..10.
                              type: number
                              multipleOf: 0.1
                              minimum: 1
                              maximum: 10
                      type: object
                  metadata:
                    description: Metadata about the request.
                    type: object
                    properties:
                      next_page:
                        description: Indicates that more results are available. Use this pagination token to retrieve the next page of results (via parameter `page`).
                        type:
                          - string
                          - 'null'
              example:
                request_id: 01fr9ez700exycb98w90w5r9sh
                data:
                  - id: 5944
                    contact:
                      email: depot@test.booking.com
                      telephone: '+31882847620'
                    city: '-1471393'
                    drop_off:
                      instructions:
                        en-gb: The procedure for returning the vehicle will be explained to you at the rental counter.
                        de: De procedure voor het inleveren van de auto zal worden toegelicht aan de balie.
                      working_hours:
                        monday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        tuesday:
                          - closing_time: '12:00:00'
                            opening_time: '07:00:00'
                          - closing_time: '21:00:00'
                            opening_time: '14:00:00'
                        wednesday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        thursday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        friday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        saturday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        sunday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                    location:
                      address: 5 Aankomstpassage
                      airport: AMS
                      city: -2140479
                      coordinates:
                        latitude: 52.309456
                        longitude: 4.762266
                      country: nl
                      depot_location_type: airport_hotel
                      name:
                        en-gb: Amsterdam Airport Schiphol - Terminal 3
                        de: Amsterdam Luchthaven Schiphol - Terminal 3
                      post_code: 1118 AX
                    pick_up:
                      instructions:
                        en-gb: '-'
                        de: '-'
                      working_hours:
                        monday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        tuesday:
                          - closing_time: '12:00:00'
                            opening_time: '07:00:00'
                          - closing_time: '21:00:00'
                            opening_time: '14:00:00'
                        wednesday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        thursday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        friday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        saturday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                        sunday:
                          - closing_time: '21:00:00'
                            opening_time: '07:00:00'
                    services:
                      - shuttle
                    supplier: 47
                metadata:
                  next_page: null
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: string
  parameters:
    AffiliateIdHeader:
      in: header
      name: X-Affiliate-Id
      schema:
        type: integer
      required: true
      description: Include here your Affiliate identifier number
```
