How to link API to google sheets code

I am trying to link my Shopify backend to my automated google sheets so that I can send out orders and get the tracking codes just by pressing a button on Google sheets. However, I can’t seem to link my API to the GSheet. I have already retrieved my API codes using the secret code and configured scope for the app. But when I click send orders, it sent me an email with (Shopify 403: {“errors”.”[API] This action requires merchant approval for read_customers scope”}. I have already configured read customer scope but the error persists. Any help is appreciated. Thanks!

Hi @Dododots_Official,

If you’ve added the read_customers scope to the app configuration after the app was installed on the store, the merchant will still need to approve the scope change as well.

They can do this by opening the app in the Shopify Admin’s left side menu, or by navigating to settings > apps, selecting the app in question, and clicking the open app button. This will automatically prompt the merchant to approve any scope changes.

You can also confirm what scopes are currently approved on a specific store, with the appInstallation.accessScopes query.

{
  appInstallation{
    accessScopes{
      handle
    }
  }
}