Abandoned Cart Json Api

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  
 Does someone have any idea about the "abandoned cart"  data using API?
@Shopify @api 

Reply 1 (1)

Shopify Staff
1312 215 454

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