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.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Checkout api error

Checkout api error

AmanDeep004
Shopify Partner
2 0 1

When I am trying to use Checkout API to create a checkout I am getting   

"errors": "[API] This action requires merchant approval for write_checkouts scope." error
 
Could you please explain Why this is coming and how to resolve this error.
ShopifyCheckoutApiError.png
Replies 3 (3)

ShopifyDevSup
Shopify Staff
1453 239 535

Hi @AmanDeep004 

 

In order to create checkouts, your app needs to have the write_checkouts access scope.

 

Our dev docs also have examples of how you can use the API to confirm your app's granted access scopes or make changes to your app's scopes.

 

Hope that helps.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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

AmanDeep004
Shopify Partner
2 0 1

Could you please share the detailed steps of how  I can give read and write_checkouts scope

ShopifyDevSup
Shopify Staff
1453 239 535

Hi @AmanDeep004 . You can follow this guide to creating a Sales Channel which will open up the read, write checkouts scopes.  Hope that helps!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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