Re: Check status of Cart created through Storefront API

Check status of Cart created through Storefront API

Shopify Partner
1 0 0

I am creating Cart objects by way of the Storefront API, leveraging the Checkout URL to progress through the checkout process. I am looking to see if there is any type of Status for the Cart object that has been created. Ultimately, I’d like to see if the cart object was used to create an order. Is this something that can currently be done?



Reply 1 (1)

Shopify Staff
2873 312 820

Hi FreetimeDev,


The transition from a cart to an order is facilitated through a Checkout object. Once the Checkout process is completed, an Order object is created. By tracking the Checkout object associated with a Cart, you might be able to determine whether an order has been created. The Shopify Admin API documentation on Orders and Checkouts describes this process in more detail.


Also, Shopify provides webhooks which can notify your application about various events, including order creations. You could set up a webhook to listen for order creation events and then check if the order was created from the cart you are tracking.


Hope this helps!

Liam | Developer Advocate @ 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 or the Shopify Web Design and Development Blog