A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
According to admin-graphql/2023-01/objects/Abandonment#queries , "Abandonment" objects can be retrieve via ID or by "AbandonedCheckoutId".
I can retrieve the abandoned checkout IDs from the REST API, but how can I do the same for GraphQL?
Is there any way to retrieve abandoned checkouts? Or the Abandonment IDs to use for the former query?
Solved! Go to the solution
This is an accepted solution.
Hi @Zacker 👋
At this time, Admin GraphQL doesn't support querying a list of abandoned checkouts. As you mentioned, the course of action would be to use the Admin REST endpoint for abandoned checkouts here.
We'll be sure to let the product team know that it would be valuable to have a parallel function in GraphQL.
Hope that helps!
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
This is an accepted solution.
Hi @Zacker 👋
At this time, Admin GraphQL doesn't support querying a list of abandoned checkouts. As you mentioned, the course of action would be to use the Admin REST endpoint for abandoned checkouts here.
We'll be sure to let the product team know that it would be valuable to have a parallel function in GraphQL.
Hope that helps!
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
Thanks for letting them know! Yeah this would be amazing to have in Graph QL since you could hopefully query by Abandonment_type and get only carts as opposed to checkouts