Checkout token api not working

Devdev89
Visitor
2 0 0

I am getting successful response for the checkout api. '{mydomain}/admin/api/2021-07/checkouts.json'

However, I am getting below error when I hit api with token '{mydomain}/admin/api/2021-07/checkouts/0118955e09310cfe32498d1772b01dcd.json'

Error :  "[API] This action requires merchant approval for read_checkouts scope."

Please help

Replies 2 (2)

csam
Shopify Staff (Retired)
267 40 51

Hi @Devdev89 

What kind of app are you developing? The read and write checkouts scopes are only available to public sales channel apps.

 

 

To learn more visit the Shopify Help Center or the Community Blog.

Devdev89
Visitor
2 0 0

Hi @csam 

I am developing a store and inside the store there is no option to create public app, there is only an option to manage private apps.

Could you guide me further how to call the api ? 

https://{mystore}/admin/api/2021-07/checkouts/{token}/shipping_rates.json