# Supplier code

> URL: https://hotelmapping.org/en/glossary/supplier-code/ · Language: English

_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](https://hotelmapping.org/en/glossary/hm-id/), so agencies work with the HM ID instead of tracking codes one by one. Codes usually arrive with the [static hotel data](https://hotelmapping.org/en/glossary/static-data/) files of [bedbanks](https://hotelmapping.org/en/glossary/bedbank/) and other suppliers. You can find how to get from a code to an HM ID on the [hotel mapping](https://hotelmapping.org/en/products/hotel-mapping-solutions/) product page, and the background in the guide [What is hotel XML integration?](https://hotelmapping.org/en/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.

Related product:

- [Hotel mapping solutions](https://hotelmapping.org/en/products/hotel-mapping-solutions/)

## Related terms

- [HM ID](https://hotelmapping.org/en/glossary/hm-id/)
- [Bedbank](https://hotelmapping.org/en/glossary/bedbank/)
- [Hotel mapping](https://hotelmapping.org/en/glossary/hotel-mapping/)
- [Static hotel data](https://hotelmapping.org/en/glossary/static-data/)
