How to update navigation menus using API

2 0 1

How do I update the navigation menus using the API?  The bot thing gives me a nice answer as below, but neither the endpoint or document page exists.


Gone round and round trying to get a simple answer and Shopfiy have lost interest and directed me here.


Thanks.  It's not JavaScript, but I was forced to add a tag.



To add a menu item via Shopify API, you'll need to use the POST /admin/api/2022-01/menus/{menu_id}/menu_items.json endpoint.

Here's a basic example:

{ "menu_item": { "link_type": "Collection", "title": "Your Collection Name", "subject_id": "Collection ID" } }

Replace "Your Collection Name" with the name of your collection and "Collection ID" with the ID of your collection.

For more details, check out the [Shopify API documentation](



Replies 2 (2)

Shopify Expert
177 28 111

Hey @Leafie2000


As far as I'm aware Shopify still does not offer a public-facing API or endpoint to manage an Online Store's navigation menus. It sounds like the AI chat bot on their help center got a bit confused. If there is a Navigation API we'd certainly love to use it within our Meteor Mega Menus app!

Regardless, it wouldn't hurt to provide some details about your use case for a Navigation API in this thread. If enough people request it and provide specific examples of why it would be beneficial then Shopify's product team may be convinced to prioritize it for a future release 😉

Kyle W | Helium
Helium builds apps that thousands of merchants depend on:
- Customer Fields ✪✪✪✪✪ (350+ reviews)
- Meteor Mega Menu ✪✪✪✪✪ (250+ reviews)
2 0 1

Thanks for your answer.  I can only think the AI has info on a upcoming or abandoned feature, but at least I've not gone mad.


I have quite deep product "categories" which I'd like to use as a drill down on a few sites.  e.g. locating printer inks, car parts etc.  As Shopify doesn't have hierarchical categories I've created customs collections containing the category nodes populated with the relevant products which is maintained via the API and I want to attach the nodes (collections) to a menu structure.  The structure and content changes often and is held outside of Shopify.