Location external IDs
Audience: CMS editors, integrators, and developers.
A location stores its address, contact data, and external service IDs. Use the same location for inventory, shop, and rental services.
Mapping keys
| Mapping key | Service role | ID to enter |
|---|---|---|
netconnection | Inventory | The location customer number supplied as vehicleCustomerNumber in the inventory feed. |
shopify.pos | Shopify POS | The Shopify location ID used for point of sale. |
shopify.fulfillment | Shopify fulfillment | The Shopify location ID used for fulfillment. |
carento | Car rental | The location ID from Carento. |
Inventory synchronization reads the netconnection mapping. The other keys define mapping names for their integration layers.
A mapping does not enable a service.
Custom keys are permitted. Adding a key does not require a schema change. Integrations depend on stable keys to find their IDs. Keys and IDs are case-sensitive. The CMS removes spaces around values. It stores IDs as text and keeps leading zeros and letter case.
Each location can have only one ID per key. Different keys can use the same ID, for example when Shopify POS and fulfillment use the same location. A reverse lookup fails if more than one location has the same key and ID.
Example stored data:
[
{ "key": "netconnection", "value": "00123" },
{ "key": "shopify.pos", "value": "456" },
{ "key": "shopify.fulfillment", "value": "456" },
{ "key": "carento", "value": "BER-01" }
]Integration access
Use LocationsService.getLocationByExternalId(key, value) to find a CMS location.
It matches the key and ID in the same row. A missing mapping returns a not-found
error. An ambiguous mapping returns a conflict error.
Each integration passes its documented key directly. Custom string keys are permitted.