Checkout token api not working

Devdev89
New Member
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
Shopify Staff
267 40 43

Hi @Devdev89 

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

 

 

CS | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Devdev89
New Member
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