A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I checked scopes for my store and write_draft_orders is already there still getting below error
can you please help me to solve this
error message from shopify
Hi @Namita,
If the app does have the required write_draft_orders scope, it's also important to know that if you are making the call from an embedded app in the Shopify Admin, including the Shopify GraphiQL App, the staff member that is logged into the admin when making the call does also need to have the write_draft_orders permission as well. You can review staff permissions in the admin following these Help Center documentation, ensuring the staff has the view and create and edit permissions for Draft Orders.
If you've confirmed that the issue is not due to the user or app permissions we can definitely help you look into this further, though we will need you to reach out to our Support Team directly to help authenticate on the store and look into this further with specific examples.
If you can please gather the following context to provide to our support team:
Once you've gathered the information above, please do reach out via our Shopify Help Center, and our Support Team can help with further troubleshooting.
I hope this helps, and I hope you have a great day 🙂
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog