Markets
L’objet Market
Attributs
idstringIdentifiant unique de l'objet (préfixé, opaque).
objectstringmarketbrandstringLa marque à laquelle l'objet appartient (
br_…).codestringISO 3166-1 alpha-2, e.g.
FR— themarketparameter of the other endpoints.languagestringcurrencystringstatusenumLifecycle of a brand market, as shown by the navbar market chips. - active → sampled every cycle, selectable everywhere. - backfill → just activated, history being rebuilt; selectable, flagged. - off → detected (Shopify Markets…) but not activated; greyed out.
Valeurs possibles :
active·backfill·offsourceenumWhere a brand market comes from: detected in the connected store (Shopify Markets) or added by hand on « Catalogue · Marchés ».
Valeurs possibles :
shopify·manualdomainstringnullablelocalityobjectnullableAfficher les attributs enfants
citystringregionstringnullableaddressstringnullablephonestringnullableopening_hoursstringnullable
is_primarybooleanactivated_atstringnullablelivemodebooleantruepour les données réelles,falsepour le bac à sable du mode test.createdintegerTime at which the object was created (unix timestamp, seconds).
{
"id": "mkt_034oH7bZpQA7N8R6s421Ry",
"object": "market",
"brand": "br_034CyfRFSXUqzrbzV6MAfZ",
"code": "string",
"language": "fr",
"currency": "EUR",
"status": "active",
"source": "shopify",
"domain": "string",
"locality": {
"city": "string",
"region": "string",
"address": "string",
"phone": "string",
"opening_hours": "string"
},
"is_primary": true,
"activated_at": "2026-09-21T02:40:00Z",
"livemode": true,
"created": 1790000000
}L’objet Location
Attributs
idstringIdentifiant unique de l'objet (préfixé, opaque).
objectstringlocationbrandstringLa marque à laquelle l'objet appartient (
br_…).marketstringThe market's ISO 3166-1 alpha-2 code, e.g.
FR.namestringcitystringregionstringnullablepostal_codestringnullableaddressstringnullablephonestringnullableopening_hoursstringnullableurlstringnullablesourceenumWhere an establishment row came from: read on the brand's site, or typed by an editor.
Valeurs possibles :
site·manualtrackedbooleanWhether the query panel writes queries for it.
livemodebooleantruepour les données réelles,falsepour le bac à sable du mode test.createdintegerTime at which the object was created (unix timestamp, seconds).
{
"id": "loc_0342TwLkZ7AlSAO7Ctrcpb",
"object": "location",
"brand": "br_034CyfRFSXUqzrbzV6MAfZ",
"market": "FR",
"name": "Nordvelo",
"city": "string",
"region": "string",
"postal_code": "string",
"address": "string",
"phone": "string",
"opening_hours": "string",
"url": "https://hooks.example.com/skoup",
"source": "site",
"tracked": true,
"livemode": true,
"created": 1790000000
}List establishments
GET/v1/brands/{brand}/locations
The establishments of a local brand (a chain of practices, stores or agencies is one brand with many establishments). Empty for a brand that sells online. Queries, mentions and wrong-address alerts point at the establishment they are about.
Paramètres
brandstringobligatoireBrand id (
br_…).marketstringtrackedbooleanlimitintegerNombre d'objets à renvoyer, entre 1 et 100 (20 par défaut).
starting_afterstringCurseur : l'
iddu dernier objet de la page précédente.
Retour
Un dictionnaire dont la propriété data contient jusqu’à limit objets location, du plus récent au plus ancien, et has_more indique s’il reste une page. Lève une erreur en cas de problème.
curl
curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/locations?limit=3 \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"object": "list",
"url": "/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/locations",
"has_more": false,
"data": [
{
"id": "loc_0342TwLkZ7AlSAO7Ctrcpb",
"object": "location",
"brand": "br_034CyfRFSXUqzrbzV6MAfZ",
"market": "FR",
"name": "Nordvelo",
"city": "string",
"region": "string",
"postal_code": "string",
"address": "string",
"phone": "string",
"opening_hours": "string",
"url": "https://hooks.example.com/skoup",
"source": "site",
"tracked": true,
"livemode": true,
"created": 1790000000
}
]
}List markets
GET/v1/brands/{brand}/markets
The country markets of a brand. Measurements are per market: pass a
market code (e.g. FR) to the endpoints that take a market.
Paramètres
brandstringobligatoireBrand id (
br_…).statusstringlimitintegerNombre d'objets à renvoyer, entre 1 et 100 (20 par défaut).
starting_afterstringCurseur : l'
iddu dernier objet de la page précédente.
Retour
Un dictionnaire dont la propriété data contient jusqu’à limit objets market, du plus récent au plus ancien, et has_more indique s’il reste une page. Lève une erreur en cas de problème.
curl
curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/markets?limit=3 \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"object": "list",
"url": "/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/markets",
"has_more": false,
"data": [
{
"id": "mkt_034oH7bZpQA7N8R6s421Ry",
"object": "market",
"brand": "br_034CyfRFSXUqzrbzV6MAfZ",
"code": "string",
"language": "fr",
"currency": "EUR",
"status": "active",
"source": "shopify",
"domain": "string",
"locality": {
"city": "string",
"region": "string",
"address": "string",
"phone": "string",
"opening_hours": "string"
},
"is_primary": true,
"activated_at": "2026-09-21T02:40:00Z",
"livemode": true,
"created": 1790000000
}
]
}