Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Checkout Api Using Nodejs

Shopify Expert
8 0 1



I am trying to create  checkout through checkout api, i am using npm modules


But i am getting error 403 forbidden.


Please let me know how we can use checkout api.


Reply 1 (1)

Shopify Staff
1561 81 341

Your issue is that of OAuth scopes. You don't have permission to create those resources.


Unless you're a sales channel, you need to use the GraphQL Storefront API to create checkouts, which will ultimately need to be completed on the web interface.


shopify-api-node, while it seems to support GraphQL, only supports the GraphQL Admin API, which does not support checkout creation (again unless you are a sales channel).


Your path forward is likely going to be creating a GraphQL Storefront API client by either forking or contributing to that library, finding an existing one, or creating your own.



Alex | 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 the Shopify Help Center or the Shopify Blog