v1

latestOpenAPI 3.0.12026-08-067576.0 KB
Manage contracts

Create a contract and legal entity ID

Use this endpoint to create a partner card for a new partner and invite them to sign a contract with Booking.com

post/partners/invite

Headers

Authorizationstring

Request body

citystring

City name of the partner company.

company_namestring required

Commercial name of the company. Use the partner name if a commercial name is not available.

contract_countriesstring[]

List of country codes where the partner has properties.

countrystring

Country code of the partner company.

is_test0 | 1

Indicates whether to create a test partner. Set to 1 for test partners, 0 for production partners.

legal_contact_emailstring required

Contact email of the partner. This is treated as the unique identifier for the partner.

legal_contact_namestring required

Contact name of the person authorized to sign.

legal_contact_phone_numberstring

Contact phone number of the partner.

legal_namestring

Legal name of the company used for official registration. Use the partner name if a legal name is not available.

preferred_languagestring required

The partner's preferred language code for communication.

streetstring

Street name of the partner company.

total_number_of_propertiesinteger

Total number of properties that the partner has.

websitestring

Website of the partner, if any.

zipcodestring

Zipcode of the partner company.

Response

OK

Example response

{
  "data": {
    "legal_entity_id": 22567
  },
  "meta": {
    "ruid": "XNlckRhdGEkYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY3ODkwQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVoxMjM0NTY3ODkw="
  }
}