Skip to main content

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.

FieldValueNote
Namee.g. active-flow-marketScheduling name
Cron Expression0 * * * *How often to retrieve markets (e.g. */5 * * * * -> every 5 minutes)
Source TypehttpSource type to use
Urlhttps://adapt.flowlyze.com/api/adp/shopify/shared/marketsEndpoint URL to call (see note at end of table)
MethodGETMethod to call the endpoint
Headers :: x-api-key**********API key for endpoint interaction verification
Headers :: x-shopify-graphql-urlhttps://SHOPIFYURL.myshopify.com/Shopify shop URL to connect to
Headers :: x-shopify-access-tokenshpat_CODICEALFANUMERICOSecret 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"
]
}