FROM CACHE - en_header

Access Navigation through GraphQL

Shawn-LR
New Member
3 0 3

Hello Shopify Devs!

 

I want to create an app that allows you to bulk edit the navigation. I'm new to GraphQL so I'm not sure what is possible but I saw this (https://help.shopify.com/en/api/graphql-admin-api/reference/object/navigationitem) and (https://help.shopify.com/en/api/graphql-admin-api/reference/object/navigationitemv2). Wondering is its possible to access these objects to edit the Nav.

 

Thanks!

Replies 3 (3)
Alex
Shopify Staff
Shopify Staff
1561 81 329

It looks like those are not mutable yet, and NavigationItem does not appear to refer to storefront navigation if I look through everything that contains objects of this type.

 

Storefront navigation at this time by other means is not mutable either, but it's feedback we've received before.

 

Cheers.

Alex | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Shawn-LR
New Member
3 0 3

Thanks Alex!

 

Any word on this getting implemented?

 

Cheers

HenriRTM
New Member
2 0 2

I am evaluating Gatsby for generating static content pages (with Shopify product data). 

Is there any update on the NavigationItems being exposed in the Shopify Storefront API?