Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

query

Returns an abandonment by ID.

ID!required

The ID of the Abandonment to return.


Was this section helpful?

A browse, cart, or checkout that was abandoned by a customer.

abandonedCheckoutPayload

The abandonment payload for the abandoned checkout.

abandonmentType
non-null

The abandonment type.

app
non-null

The app associated with an abandoned checkout.

cartUrl

Permalink to the cart page.

createdAt
non-null

The date and time when the abandonment was created.

customer
non-null

The customer who abandoned this event.

customerHasNoDraftOrderSinceAbandonment
non-null

Whether the customer has a draft order since this abandonment has been abandoned.

customerHasNoOrderSinceAbandonment
non-null

Whether the customer has completed an order since this checkout has been abandoned.

daysSinceLastAbandonmentEmail
non-null

The number of days since the last abandonment email was sent to the customer.

emailSentAt

When the email was sent, if that's the case.

emailState

The email state (e.g., sent or not sent).

hoursSinceLastAbandonedCheckout

The number of hours since the customer has last abandoned a checkout.

id
non-null

A globally-unique ID.

inventoryAvailable
non-null

Whether the products in abandonment are available.

isFromCustomStorefront
non-null

Whether the abandonment event comes from a custom storefront channel.

isFromOnlineStore
non-null

Whether the abandonment event comes from the Online Store sales channel.

isFromShopApp
non-null

Whether the abandonment event comes from the Shop app sales channel.

isFromShopPay
non-null

Whether the abandonment event comes from Shop Pay.

isMostSignificantAbandonment
non-null

Whether the customer didn't complete another most significant step since this abandonment.

lastBrowseAbandonmentDate
non-null

The date for the latest browse abandonment.

lastCartAbandonmentDate
non-null

The date for the latest cart abandonment.

lastCheckoutAbandonmentDate
non-null

The date for the latest checkout abandonment.

mostRecentStep
non-null

The most recent step type.

productsAddedToCart
non-null

The products added to the cart during the customer abandoned visit.

productsViewed
non-null

The products viewed during the customer abandoned visit.

visitStartedAt

The date and time when the visit started.


Was this section helpful?