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
729 6 6

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