Commerce
Replace a navigation menu
PUThttps:/ / zernio.com/ api/ v1/ commerce/ menus/ {menuId}
Replaces the title and the whole item tree.
PlatformsShopify
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
menuIdstringRequired
Platform-native id.
Body
application/jsonWhat every request needs
accountIdstringRequired
titlestringRequired
itemsarray of CommerceMenuItemInputRequired
titlestringRequired
typestringRequiredOne of
frontpage | collection | collections | product | catalog | page | blog | article | search | shop_policy | http | metaobject | customer_account_pageOptional parameters4 fields
handlestring
items[].urlstring
For http items.
items[].resourceIdstring
For product, collection, page, blog, article and metaobject items.
items[].itemsarray of CommerceMenuItemInput