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!
User | RANK |
---|---|
48 | |
11 | |
8 | |
6 | |
6 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023