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 |
---|---|
16 | |
7 | |
6 | |
6 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022