Does JS Buy SDK support cartCreate API?

Topic summary

A user new to Shopify is attempting to migrate to the latest API and wants to create a cart using the JS Buy SDK. They cannot locate any cart-related resource files (specifically cart.resource.js) in the SDK’s src folder and are asking how to create a cart with this tool.

Another participant suggests opening an issue directly on the JS Buy SDK GitHub repository for library-specific questions, providing a link to the issues page.

The discussion remains open with no definitive answer provided about whether the SDK supports the cartCreate API or how to implement it.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Hi all,

I am new to Shopify and trying to migrate to the latest API. However, I am using the Js Buy SDK, but I don’t find any related cart-resource.js file in the src folder.

How do I create a cart with this SDK?

Hi SadLily,

Your best option for issues related to this library would be to opn an issue on the repo here: https://github.com/Shopify/js-buy-sdk/issues?q=is%3Aissue+is%3Aopen

1 Like