Supplier code
Supplier code
Definition
A supplier code is an identifier that a bedbank, booking platform or other hotel supplier assigns to a hotel, room or destination in its own system, and which is valid only within that supplier's system.
Each supplier uses its own coding scheme: one gives a numeric code, another a text code with country and city prefixes. As a result, the same hotel has a different code at every supplier, and one supplier’s code means nothing at another. Codes also change over time: when a hotel closes, its code is deleted, or a supplier renews the record or opens a second code for the same hotel. If two codes from the same supplier land on the same hotel, the record is placed in a conflict queue for review. hotelmapping.org links every supplier code to a single permanent HM ID, so agencies work with the HM ID instead of tracking codes one by one. Codes usually arrive with the static hotel data files of bedbanks and other suppliers. You can find how to get from a code to an HM ID on the hotel mapping product page, and the background in the guide What is hotel XML integration?.
Example
The same hotel is listed under HTL-88213 at supplier A, 40917 at supplier B and TR-ANT-551 at supplier C. A GET /v1/suppliers/B/codes/40917 request returns ID HM-1048213 as the match for this code.