Change in edit order scopes ?

MaxDry
New Member
3 0 0

Hey all,

I've recently implemented edit order in my project and had to requests the write_order_edits scope.

Requesting the write_order_edits added the following scope to the App permissions detail in Shopify : "
Modify orders, transactions, and fulfillments"

I've started experiencing errors while trying to edit an order a few days ago (OrderEditBegin access denied). So I've deleted and re-added the app and discovered two new permissions added to the Shopify app : "Modify orders" (alone) and "Read order edits". And then edit order works again as expected.

My question is, where are those changes documented and are they expected ? Also what are the scopes binded to those two app permissions (is there a read_order_edits) ?

Thank you for your help


Reply 1 (1)
MaxDry
New Member
3 0 0

Hey all,

Just a heads up, I think I've pinpointed the issue.

Looking at https://shopify.dev/api/usage/access-scopes we can only see the write_order_edits permission (at the time of writing this comment). Yet I found another required scope 'read_order_edits' permission here https://shopify.dev/api/admin/graphql/reference/orders/orderstagedchangedecrementitem?api%5Bversion%.... Adding this new permission seems to solve the order edit begin access denied.

Why is this not documented ? Also why does this change impact previous versions (prior to release candidate 2021-10) ?

Thank your for your answer.