Contracting API (1.0.0)

Use the Contracting API to invite a new partner on Booking.com, check whether a partner has signed the contract, resend invitation mail and retrieve the legal entity of the partner.

Authentication

The Contracting API supports token-based authentication. Each request must have an Authorization header containing a JWT token. Manage your machine accounts in the Connectivity Portal. See also the Authentication page of the documentation.

Message formats

The Contracting API accepts and returns JSON.

Documentation

Read the Contracting API documentation for more details about working with this API.

Languages
Servers
Test static response
https://developers.booking.com/_mock/connectivity/docs/openapispecs/contracting-api/contracting-api-specificaion/
Test using live endpoint
https://supply-xml.booking.com/contracts-api/

Manage contracts

Create, update or resend contract details.

Operations

Request access

Request access to existing partner.

Operations

About Try it

Learn how to effectively use the Try it feature in the Contracting API documentation.

Use the Try it feature to send test request examples to the API endpoints directly from the developer portal and depending on the selected environment either see static, pre-built responses or dynamic responses from a test property.

Environments

The Environments tab allows you to create variables specific to the environment. For example, you can add a variable to hold the value of the property-id placeholder. The portal inserts the respective value depending on the environment at the time of sending the request.

Variables

Most of the endpoints (especially POST/PUT/DELETE) require you to add a path or query parameter before sending the request. The Open API specification marks these parameters with placeholder tags. For example, {{property_id}}. You can use the Environments tab to manage the values for these placeholders as variables.

Path parameters

  • Required: Must be provided to make the request
  • Type validation: Ensures correct data types (integer, string, etc.)
  • Example: propertyId in /charges-api/properties/{propertyId}/charges