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.

Abandoned Cart Json Api

shalukumari
Tourist
14 0 2

Hi Team,
I'm unable to fetch the abandoned cart API because the "Shopify dev" provided abandoned checkout but I required abandoned carts those not purchased.
I have found only this JSON API only  
/admin/api/2022-10/checkouts.json
 Does someone have any idea about the "abandoned cart"  data using API?
Thanks
@Shopify @api 

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1246 201 441

Hi @shalukumari - "abandoned checkouts" are how we refer to what some others may call "abandoned carts". The /admin/api/2022-10/checkouts.json endpoint you provided is the correct one to query through REST. 

You can confirm if the checkout is completed by looking at the completed_at field which would provide a timestamp of when the abandoned checkout has been paid for. If the checkout hasn't been completed, it would have a null value rather than a timestamp. There is a bit more information here in an older post from one of my colleagues. 

 

Hope this helps - please let us know if we can clarify anything on our end. 
 

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