OverviewProductsPlatformsAPI ReferenceResources
Commerce

List navigation menus

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

The store's navigation menus with their items. Shopify only. Needs navigation.read.

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/menus
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.commerce.listCommerceMenus({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "menus": [    {      "id": "string",      "handle": "string",      "title": "string",      "items": [        {          "id": "string",          "title": "string",          "type": "frontpage",          "url": "string",          "resourceId": "string",          "items": [            {}          ]        }      ]    }  ]}
OpenAPI specification
Was this page helpful?