Market Import
This endpoint allows you to synchronize Shopify markets with an external platform (e.g. SOH). The Market Import flow allows synchronizing markets configured on Shopify with the platform, automatically importing their main settings, including:
- Market name
- Market status
- Associated currency
- Served countries
- Relationships between markets, catalogs and price lists.
Active Market Flow Configuration
After creating the destination, proceed with flow insertion.
| Field | Value | Note |
|---|---|---|
Name | e.g. active-flow-market | Scheduling name |
Cron Expression | 0 * * * * | How often to retrieve markets (e.g. */5 * * * * -> every 5 minutes) |
Source Type | http | Source type to use |
Url | https://adapt.flowlyze.com/api/adp/shopify/shared/markets | Endpoint URL to call (see note at end of table) |
Method | GET | Method to call the endpoint |
Headers :: x-api-key | ********** | API key for endpoint interaction verification |
Headers :: x-shopify-graphql-url | https://SHOPIFYURL.myshopify.com/ | Shopify shop URL to connect to |
Headers :: x-shopify-access-token | shpat_CODICEALFANUMERICO | Secret of the custom app created for integration |
Example of retrieved information
{
"id": "gid://shopify/Market/81544020275",
"name": "European Union",
"isEnabled": true,
"primary": false,
"currencyCode": "EUR",
"catalogs": [
{
"id": "gid://shopify/MarketCatalog/103528661299",
"title": "European Union",
"priceList": {
"id": "gid://shopify/PriceList/31059902771",
"adjustmentType": "PERCENTAGE_DECREASE",
"adjustmentValue": 0
}
}
],
"regionCodes": [
"AT",
"BE",
"BG",
"HR",
"CY",
"CZ",
"DE",
"DK",
"EE",
"FI",
"FR",
"GR",
"HU",
"IE",
"LV",
"LT",
"LU",
"MT",
"NL",
"PL",
"PT",
"RO",
"SK",
"SI",
"ES",
"SE"
]
}