OverviewPlatformsAPI ReferenceResources
Commerce

List markets

GEThttps://zernio.com/api/v1/commerce/markets

The regions the store sells to, each with its own currency and pricing.

PlatformsShopify

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired

Connected store SocialAccount id.

Responses

Success· the request worked

Errors· the request failed

GET/v1/commerce/markets
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.commerce.listCommerceMarkets({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "markets": [    {      "id": "string",      "name": "string",      "handle": "string",      "status": "active",      "type": "string"    }  ]}
OpenAPI specification
Was this page helpful?