Change the scopes of the default template

Hi, I used the Remix template to create a new app. By default this app has write_products scope but I need to add new others to it. When I do npm run dev It warns The scopes in your TOML don’t match the scopes in your Partner Dashboard. I tried lots of commands to get these configs synced to dashboard, nothing worked. Appreciate any help.

  • npm run dev – --reset - reset the shopify.app.toml to no scopes which is not what I need
  • shopify app deploy - This fails with " This app is not approved to subscribe to webhook topics containing protected customer data. " as I need read_orders scope.

I’m kind in a deadloack and appreciate any help. thank you.

1 Like

I’m also having a similar issue. All I need is the read_orders scope, but it keeps failing with “This app is not approved to subscribe to webhook topics containing protected customer data.” when I run the deploy script. As I understand it, this shouldn’t require an approval process if I am just needing recent orders (not orders 60+ days in the past).