I would like to use a GraphQL API call to retrieve a list of abandonments for the past 24 hours for a given merchant who installed our app. How would I do that?
Thanks,
John
Goal: Retrieve a merchant’s last-24h abandonments via Shopify’s GraphQL API.
Current capability: Shopify’s GraphQL Admin API does not support querying a list of abandonments. The recommended workaround is the Admin REST API endpoint for abandoned checkouts.
Context: The requester notes the GraphQL Admin API documents an Abandonment object with types (browse, cart, checkout) but provides no way to list/access them. A screenshot of the docs was shared to support this point.
Additional input: One reply offered a generic GraphQL query pattern for an “Abandonment” type, but it assumes schema support and does not confirm availability in Shopify’s GraphQL.
Open questions: Is there a timeline for exposing abandonments via GraphQL? No official timeline or confirmation was provided.
Outcome/next steps: Use the REST API for abandoned checkouts in the interim. Discussion remains open pending Shopify’s update on GraphQL support for abandonments.
I would like to use a GraphQL API call to retrieve a list of abandonments for the past 24 hours for a given merchant who installed our app. How would I do that?
Thanks,
John
Currently, Shopify GraphQL doesn’t support querying a list of abandonments, you can use the Rest API for retrieves a list of abandoned checkouts
My dev team is using both Graphql and REST for our app.
Hope that helps!
Hi @PeterPan1708 ,
Thank you for your response.
The GraphQL Admin API has listed the Abandonment object with abandonmentTypes browse, cart, & checkout for over a year now, yet no way to access or list these abandonments using the GraphQL API?!
Anyone from Shopify dev have a timeline on when access to the abandonment object will be released via the GraphQL API?
Thanks,
John