Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi
We have an for abandoned checkout recovery. We noticed multiple notifications being sent for the same checkout to same users. Upon debugging we found, these checkouts had same id but different tokens (our system used token's uniqueness to send notifications).
Further Rest API for checkout resource (https://shopify.dev/docs/api/admin-rest/2023-10/resources/checkout) says token as A unique identifier for a particular checkout. It does not mention anything about id. It even gives APIs to retrieve checkout by id, not by token.
GraphQL object for checkout resource (https://shopify.dev/docs/api/storefront/2024-01/objects/checkout) says id as A globally-unique ID. In the mutations it expects id, not token.
Lastly checkout checkout json from admin panel (Going to particular checkout and appending .json at the end of URL for ex https://admin.shopify.com/store/quickreply-digital-store/checkouts/26887713357995.json) gives json which has both id and token. When we receive checkout object via REST API webhooks (via topic subscription), we receive object which has both id and token.
We found many cases where id was same but token was different. these had same products and same quantity.
So want to know whether multiple checkouts have uniqueness in id or uniqueness in token? This will help us resolving duplicate notifications being sent to users.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025