Development discussions around Shopify APIs
Hi I am trying to integrate Shopify API into my existing app for fetching publishing/listing products, fetching order details. Client provided a Key and Password for accessing the REST Admin APIs.
I tried calling the order api as given below:
https://{key}:{password}@{store}.myshopify.com/admin/api/2021-01/orders.json
But its is returning the error:
errors: "[API] This action requires merchant approval for read_orders scope."
Is this the right way to call the API? Please help me out.
The project I'm working on is python-based one and I'm planning to use python's request library to call the REST APIs.
Thanks
If i understand this right, your client made the API key for you and shared the key/password with you.
Each key can be assigned different access scopes so would guess that reading orders was not enabled. Everything is not enabled by default so your client would need to ensure they've given your the scopes you need. Might be worth checking in with them.
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
4 |
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