GraphQL urlRedirectDelete mutation requires write_online_store_navigation access scope, but that is not available for private apps. And support chat was not able to enable it, it’s only available for internal Shopify apps.
Is this intentional and/or when this would be available to general public?
With REST API you are able to delete url redirects.
I was told this, I am a Pro customer. Not at all helpful as the document all say it is possible, just needs the correct scope, and even the response for the GraphQL call tells you what needs to be done
“I’ve been looking into this and it appears that the feature you are looking to use in GraphQL is not presently available. However the suggested course of action would be to use the Admin REST endpoint for creating redirects. When you are testing with custom apps, it will need the write_content scope that can be added on the Admin app config page.”
Has anyone been able to successfully write a private / custom app that can interact with Navigation Menus?
I’m trying to make a custom app that can copy my nav menus – I see the scopes available for my app, and they are selected, but I’m still seeing a 403 forbidden error.
Currently there are no available options in the Admin API to work with the navigation items that are set up in the Online Store > Navigation menu creation area.
At the moment the read and write_online_store_navigation permissions are available to enable reading and writing of urlRedirects.
Got it, thanks for explaining what those scopes can be used for.. I was kicking myself a bit. I’ve needed to duplicate / modify / test complex mega menus many times over the past few years and it can be painfully slow. It sounds like low-hanging fruit to add nav menus to the API scope. Maybe you can put a bug in someone’s ear for us?