skip to Main Content

I am new to Shopify and I’m trying to setup Shopify themekit locally.

I have created an private app and setup my store, but while trying to access store using theme kit I get this error:

Errors: [API] This action requires merchant approval for write_themes scope.

3

Answers


  1. Private apps have limited permissions like public apps do. You can fix your app’s permissions by opening the private apps section of the admin and tapping on the name of your app.

    Scroll down to the section labelled ADMIN API PERMISSIONS and tap on ▼ Review disabled Admin API permissions. Set Theme templates and theme assets to Read and write and then save and it should work.

    Login or Signup to reply.
  2. After going into Settings > Apps & Channels, you need to click on ‘Develop Apps’ button, and then select the related app to access the API settings.

    This error may occur for any number of permissions (though the OP asked about ‘write_themes’ scope).

    Errors: [API] This action requires merchant approval for {PERMISSION} scope.

    {PERMISSION} may be any number of the listed API permissions. Those without access are now listed under ‘Inactive’ (vs. ‘Disabled’).
    Search for the permission most closely related to the one listed in your error:
    e.g. "errors": [api] this action requires merchant approval for read_content scope. is related to "Store Content" permission = Read.

    It’s also worth checking that your webhook API version is aligned between the Shopify App config and your private app.

    Once you’ve made your edits and save, you’ll be asked to confirm that you want to edit these settings. This is just to make sure you understand what within your store you are giving the app access to; if you are good with the implications, approve and submit and retry the API call from your private app.

    Login or Signup to reply.
  3. The year 2023 answer

    Go to your shop admin website
    https://admin.shopify.com/store/{your-website-name}

    Go to Settings (bottom left corner) -> Apps and sales channels -> Develop apps -> [select your app] -> Configuration tab -> Edit Admin API integration -> search for the desired scope.

    FYI: Private apps were discontinued, and are now called Custom apps.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search