Check legal details
Check Partner legal details with entity ID
Changed onUse this endpoint to check the details of Partner within Booking.com for the given legal entity ID.
get/partners/legal-details/legal-entity/{id}
Request
- Base URLhttps://supply-xml.booking.com/contracts-api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Legal entity ID of the partner. This is treated as the unique identifier for the partner.
Response
OK
Example response
{
"data": {
"city": "Amsterdam",
"company_name": "XYZ Company",
"contract_countries": [
"Netherlands",
"Australia"
],
"contract_signed": 1,
"country": "Netherlands",
"legal_contact_email": "carol.xu@abc.com",
"legal_contact_name": "Carol Xu",
"legal_contact_phone_number": "+31221122112",
"legal_entity_id": 22567,
"total_number_of_properties": 2
},
"meta": {
"ruid": "UmFuZG9tSVYkc2Rl...="
}
}Changes
- breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - info
removed the non-success response with the status
- breaking