Can't edit order even after the `write_order_edits` is availeble

Can't edit order even after the `write_order_edits` is availeble

abidhasan
Shopify Partner
7 0 0

So, when I query GraphQL

query {
  app {
    availableAccessScopes {
      handle
    }
  }
}

It says that `write_order_edits` is available. But when I try to mutate an order using

 

mutation EditOrder {
   orderEditBegin(id: "gid://shopify/Order/1234") {
    calculatedOrder {
      id
    }
  }
}

It throws me, Access denied for orderEditBegin field. Required access: `write_order_edits` access scope. Am I missing something?

Reply 1 (1)

ahsanibrahim206
Shopify Partner
10 0 0

Hello Abidhasan, the issue is likely caused by the app not updating the scopes. Have you tried reinstalling the app?