In order to configure a multimarket environment within Merchandising Cloud, a merchant must prepare their Merchandising Cloud internal configuration to define the markets and the details needed per market;
This is a prerequisite to sending multimarket data.
This API endpoint will be used to allow merchants to send their market definitions and configurations;
Sending this config will be a prerequisite to sending MM field groups as the index needs this data to index products in markets internally.
👍
This payload is used as upsert, so the full request will be the source of truth;
To delete a market just remove it from the payload and send the request again
curl --location 'https://pushapi.staging.findify.io/market-config' \
--header 'Content-Type: application/json' \
--header 'Authorization: 6ff037ed-987b-4fac-b8c2-c59493745764' \
--data '{
"markets": [
{
"name": "Europe Market Test",
"description": "Europe",
"enabled": true,
"externalIdentifier": "123123123",
"languages": ["de", "fr", "en"],
"regions": [
{
"code": "DE",
"name": "Germany",
"warehouses": [],
"currencies": ["EUR"]
},
{
"code": "SE",
"name": "Sweden",
"warehouses": [],
"currencies": ["EUR"]
},
{
"code": "FR",
"name": "France",
"warehouses": [],
"currencies": ["EUR"]
}
],
"defaultMarket": true
}
]
}'