--- title: abandonmentByAbandonedCheckoutId - GraphQL Admin description: Returns an Abandonment by the Abandoned Checkout ID. api_version: 2025-10 api_name: admin type: query api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/queries/abandonmentbyabandonedcheckoutid md: https://shopify.dev/docs/api/admin-graphql/latest/queries/abandonmentbyabandonedcheckoutid.md --- # abandonment​By​Abandoned​Checkout​Id query Returns an Abandonment by the Abandoned Checkout ID. ## Arguments * abandoned​Checkout​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The ID of the Abandoned Checkout ID to query by. *** ## Possible returns * Abandonment [Abandonment](https://shopify.dev/docs/api/admin-graphql/latest/objects/Abandonment) Tracks a [customer](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer)'s incomplete shopping journey, whether they abandoned while browsing [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), adding items to cart, or during checkout. Provides data about the customer's behavior and products they interacted with. The abandonment includes fields that indicate whether the customer has completed any [orders](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order) or [draft orders](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder) after the abandonment occurred. It also tracks when emails were sent and how long since the customer's last activity across different abandonment types. *** ## Examples * ### abandonmentByAbandonedCheckoutId reference ## Query Reference ```graphql { abandonmentByAbandonedCheckoutId(abandonedCheckoutId) { # abandonmentByAbandonedCheckoutId fields } } ```