Skip to main content
Anchor to abandonmentByAbandonedCheckoutId

abandonmentByAbandonedCheckoutId

query

Returns an Abandonment by the Abandoned Checkout ID.

ID!
required

The ID of the Abandoned Checkout ID to query by.


Was this section helpful?

Abandonment

Tracks a customer's incomplete shopping journey, whether they abandoned while browsing products, 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 or draft orders after the abandonment occurred. It also tracks when emails were sent and how long since the customer's last activity across different abandonment types.

Anchor to abandonedCheckoutPayloadabandonedCheckoutPayload
AbandonedCheckout

The abandonment payload for the abandoned checkout.

AbandonmentAbandonmentType!
non-null

The abandonment type.

App!
non-null

The app associated with an abandoned checkout.

URL

Permalink to the cart page.

DateTime!
non-null

The date and time when the abandonment was created.

Customer!
non-null

The customer who abandoned this event.

Anchor to customerHasNoDraftOrderSinceAbandonmentcustomerHasNoDraftOrderSinceAbandonment
Boolean!
non-null

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

Anchor to customerHasNoOrderSinceAbandonmentcustomerHasNoOrderSinceAbandonment
Boolean!
non-null

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

Anchor to daysSinceLastAbandonmentEmaildaysSinceLastAbandonmentEmail
Int!
non-null

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

DateTime

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

AbandonmentEmailState

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

Anchor to hoursSinceLastAbandonedCheckouthoursSinceLastAbandonedCheckout
Float

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

ID!
non-null

A globally-unique ID.

Boolean!
non-null

Whether the products in abandonment are available.

Anchor to isFromCustomStorefrontisFromCustomStorefront
Boolean!
non-null

Whether the abandonment event comes from a custom storefront channel.

Boolean!
non-null

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

Boolean!
non-null

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

Boolean!
non-null

Whether the abandonment event comes from Shop Pay.

Anchor to isMostSignificantAbandonmentisMostSignificantAbandonment
Boolean!
non-null

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

Anchor to lastBrowseAbandonmentDatelastBrowseAbandonmentDate
DateTime!
non-null

The date for the latest browse abandonment.

Anchor to lastCartAbandonmentDatelastCartAbandonmentDate
DateTime!
non-null

The date for the latest cart abandonment.

Anchor to lastCheckoutAbandonmentDatelastCheckoutAbandonmentDate
DateTime!
non-null

The date for the latest checkout abandonment.

AbandonmentAbandonmentType!
non-null

The most recent step type.

CustomerVisitProductInfoConnection!
non-null

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

Arguments

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.


CustomerVisitProductInfoConnection!
non-null

The products viewed during the customer abandoned visit.

Arguments

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.


DateTime

The date and time when the visit started.


Was this section helpful?