Hotels blocked by a connection geographic restriction
POST/content/hotels/v1/hotels/geo-check
Returns bundleport base codes that a connection, or an agency on that connection, must not sell.
connectionCode is required. Optional agencyCode is checked by Core against the same organization and the agency-connection assignment.
Listings that send connectionCode (POST /hotels, POST /hotels/by-destination, POST /hotels/by-coordinates, and each connection on POST /hotels/filter) apply the same rule, and answer 403 or 503 in the same cases as this endpoint.
POST /hotels/search and POST /hotels/autocomplete stay the global catalog.
A hotel is placed by its own canonical city and country; its mapped closest destination is used only when it has neither. A code passes an include when any of its provider rows matches, and is blocked by an exclude when any row matches. A code with no geography passes an exclude and fails an include.
At most 5000 codes.
Request
Responses
- 200
- 400
- 403
- 503
Blocked codes. policyApplied is false when neither level has a policy.
Missing connectionCode or more than 5000 hotel codes
Unknown connection or agency, or the agency is not assigned to the connection
The restriction could not be loaded