Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

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

jayapald
Shopify Partner
8 0 3

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

 

Reply 1 (1)

Jason
Shopify Partner
11206 226 2314

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.

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★