Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query regarding creating abandoned checkout using cart API #1916

Open
rajathshetty20 opened this issue Jan 2, 2025 · 0 comments
Open

Query regarding creating abandoned checkout using cart API #1916

rajathshetty20 opened this issue Jan 2, 2025 · 0 comments

Comments

@rajathshetty20
Copy link

I am developing an app where I will be creating and updating carts using the Storefront API. Now, to push a cart into the "Abandoned Checkouts" section on Shopify, I currently use the checkoutCreate mutation. Checkouts created through this method appear immediately in the "Abandoned Checkouts" section on the Shopify dashboard.

Shopify is now deprecating the Checkout API and the migration guidance suggests using cartCreate instead of checkoutCreate. However, when I create a cart using cartCreate with the essential fields (lines, buyerIdentity, and deliveryAddress), it doesn’t consistently appear in the "Abandoned Checkouts" section.

It seems that while a cart created with these fields is considered a checkout (as I can generate a checkout URL), it isn’t automatically recognized as an abandoned checkout. I couldn’t find any documentation about marking a cart as an abandoned checkout via the Cart API. Could someone please help me with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant