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.
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.
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.
Read the Contracting API documentation for more details about working with this API.
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.
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.
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.