Development discussions around Shopify APIs
Hello,
I'm developing a custom app for my client. I'm running into a couple of API permissions errors.
One of them is about updating products via the Shopify API. The error I get is:
Forbidden ([API] This action requires merchant approval for write_products scope
How can I setup my custom app to request approval for additional API calls? (eg writing products and reading assets). I can't find any relevant settings in my partners apps config pages.
Am I missing something?
Thanos
Solved! Go to the solution
This is an accepted solution.
@thanos982 you need to include the required access scopes, for your case its write_products in your app's shopify configuration code file.
Which technology platform you are using for the app development?
This is an accepted solution.
@thanos982 you need to include the required access scopes, for your case its write_products in your app's shopify configuration code file.
Which technology platform you are using for the app development?
Got it, thanks @Nitin_Kujur
I'm developing with rails, so I needed to change the setting config.scope in config/initializers/shopify_app.rb
Thanks again!
Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023