Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Write Order API Scopes Confirmation

Write Order API Scopes Confirmation

ecommtech
Shopify Partner
3 0 0

Hi,

 

I am planning to make a public app for order cancellations or update orders.

 

However I am stuck at api scope access, can somebody please help me how do I can get the api access to wirte_orders and read_orders?

 

Thanks

Replies 2 (2)

DeepVyas
Shopify Partner
783 10 8

Check this :  https://shopify.dev/docs/api/usage/access-scopes#orders-permissions

Shopify Developer | Ⓢ : deepvyas71 | ✉ : deepvyas71@gmail.com
ecommtech
Shopify Partner
3 0 0

Hi @DeepVyas 

Thanks for sharing the solution however I have tried all these things when I am trying to read orders its not giving any result whereas when I am trying to read products it showing me the result as passed in the query as shopify provide default read_products scope.
Also I am trying to make the extension which will allow the user to cancel the order, there I am using orderCancle hook which resulting  "Access_denied" and when I am trying the same on postman it is working.

I have attached screenshots for the references.

orderCancel.pngaccess_denied.png