Contracting API
/- Create a contract and legal entity ID
Update an existing contract
Resend contract details
Resend updated contract
Create a contract and leg...
Use this endpoint to create a partner card for a new partner and invite them to sign a contract with Booking.com
Security
bearerAuth
Commercial name of the company. Use the partner name if a commercial name is not available.
Indicates whether to create a test partner. Set to 1 for test partners, 0 for production partners.
Enum:01
Contact email of the partner. This is treated as the unique identifier for the partner.
Legal name of the company used for official registration. Use the partner name if a legal name is not available.
- Mock (schema only)https://developers.booking.com/_mock/connectivity/docs/openapispecs/contracting-api/contracting-api-specificaion/partners/invite
- Test using live endpointhttps://supply-xml.booking.com/contracts-api/partners/invite
curl -i -X POST \
https://developers.booking.com/_mock/connectivity/docs/openapispecs/contracting-api/contracting-api-specificaion/partners/invite \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"city": "Amsterdam",
"company_name": "Parker hotels",
"country": "nl",
"legal_contact_email": "peter.park+test01@besthotelxyz.abc",
"contract_countries": [
"fr",
"nl"
],
"legal_contact_name": "Swan Park",
"legal_contact_phone_number": "+1234567890",
"legal_name": "Park hotels BV",
"preferred_language": "NL",
"street": "Streetstreet",
"total_number_of_properties": 2,
"zipcode": "1000AB",
"website": "https://www.besthotelxyz.abc",
"is_test": 1
}'Response
{ "meta": { "ruid": "VXNlckRhdGEkYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY3ODkwQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVoxMjM0NTY3ODkw" }, "errors": [], "data": { "legal_entity_id": 22567 }, "warnings": [] }