Skip to main content

Locations

Locations are the store master and its features: every store — and every digital channel that is modelled as a store — plus the taxonomies that group them by region, format, franchise or country.

The pattern mirrors the catalogue: locations are the records, taxonomies and features are the classification, and campaigns filter on the classification. "All stores in the north region" is a location feature, not a hardcoded list.

Channel and schedule for this entity: a daily delta is the usual starting point, either as a Locations file or through the API. See Data → Two channels for the same data.

Locations (stores)​

Every store that can appear on a cart should exist as a location before carts from it arrive.

ConceptIntegration responsibility
Stable ID / codeMust match the location_id or store code on cart payloads — see One ID strategy
Country, status, address attributesUsed by store filters, audiences and reporting. Country also drives currency behaviour on carts
Feature membershipEnables "all stores in region X" or "all stores of format Y" campaigns

API path: POST /locations, GET /locations/{value}, PATCH /locations/{value}, DELETE /locations/{value}.

Taxonomies and features​

Same structure and the same ordering rule as products: the classification is loaded before the locations that reference it.

StepEndpoint
Create / update / delete taxonomyPOST / PATCH / DELETE on /locations/taxonomies
Create / update / delete featurePOST / PATCH / DELETE on /locations/taxonomies/{taxonomy_slug}/features

Core endpoints​

Implementation map only. Schemas, auth, errors and rate limits: API Reference.

ActionEndpoint
Create / upsert locationPOST /locations
Get locationGET /locations/{value}
Update locationPATCH /locations/{value}
Delete locationDELETE /locations/{value}
Create location taxonomyPOST /locations/taxonomies
Update location taxonomyPATCH /locations/taxonomies/{slug}
Delete location taxonomyDELETE /locations/taxonomies/{slug}
Create location featurePOST /locations/taxonomies/{taxonomy_slug}/features
Update location featurePATCH /locations/taxonomies/{taxonomy_slug}/features/{id}
Delete location featureDELETE /locations/taxonomies/{taxonomy_slug}/features/{id}

Markdown endpoint catalog: Locations · HTTP API

Checklist​

  • Location IDs match exactly what carts will carry as location_id or store code.
  • Country is set correctly on every location — it affects currency handling and country-scoped campaigns.
  • Location taxonomies and features exist before the locations that reference them.
  • New stores are loaded before the first cart from that store arrives.
  • Closed stores keep their ID so historical carts still reconcile.

Troubleshooting​

SymptomWhat to check
Campaign works in one store but not anotherLocation external ID, country, and location feature membership.
Store-scoped campaign matches nothingWhether the campaign filters on a feature the stores were never assigned to.
Carts arrive but are not attributed to a storeThe location_id in the payload against the loaded location IDs.
Multi-country reporting looks wrongCountry on each location; carts in a currency other than the customer's registration country are flagged international in cart responses.

Whole-section symptoms are in Company Data → Troubleshooting.