stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > Abandonment

AdminTypes.Abandonment interface

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

Signature:

export interface Abandonment extends Node 

Extends: Node

Properties

Property Modifiers Type Description
abandonedCheckoutPayload?   Maybe<AbandonedCheckout> (Optional) The abandonment payload for the abandoned checkout.
abandonmentType   AbandonmentAbandonmentType | `${AbandonmentAbandonmentType}` The abandonment type.
app   App The app associated with an abandoned checkout.
cartUrl?   Maybe<Scalars[‘URL’][‘output’]> (Optional) Permalink to the cart page.
createdAt   Scalars[‘DateTime’][‘output’] The date and time when the abandonment was created.
customer   Customer The customer who abandoned this event.
customerHasNoOrderSinceAbandonment   Scalars[‘Boolean’][‘output’] Whether the customer has completed an order since this checkout has been abandoned.
daysSinceLastAbandonmentEmail   Scalars[‘Int’][‘output’] The number of days since the last abandonment email was sent to the customer.
emailSentAt?   Maybe<Scalars[‘DateTime’][‘output’]> (Optional) When the email was sent, if that’s the case.
emailState?   Maybe<AbandonmentEmailState | `${AbandonmentEmailState}`> (Optional) The email state (e.g., sent or not sent).
hoursSinceLastAbandonedCheckout?   Maybe<Scalars[‘Float’][‘output’]> (Optional) The number of hours since the customer has last abandoned a checkout.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
inventoryAvailable   Scalars[‘Boolean’][‘output’] Whether the products in abandonment are available.
isFromOnlineStore   Scalars[‘Boolean’][‘output’] Whether the abandonment event comes from the Online Store sales channel.
isFromShopApp   Scalars[‘Boolean’][‘output’] Whether the abandonment event comes from the Shop app sales channel.
isFromShopPay   Scalars[‘Boolean’][‘output’] Whether the abandonment event comes from Shop Pay.
isMostSignificantAbandonment   Scalars[‘Boolean’][‘output’] Whether the customer didn’t complete another most significant step since this abandonment.
lastBrowseAbandonmentDate   Scalars[‘DateTime’][‘output’] The date for the latest browse abandonment.
lastCartAbandonmentDate   Scalars[‘DateTime’][‘output’] The date for the latest cart abandonment.
lastCheckoutAbandonmentDate   Scalars[‘DateTime’][‘output’] The date for the latest checkout abandonment.
mostRecentStep   AbandonmentAbandonmentType | `${AbandonmentAbandonmentType}` The most recent step type.
productsAddedToCart   CustomerVisitProductInfoConnection The products added to the cart during the customer abandoned visit.
productsViewed   CustomerVisitProductInfoConnection The products viewed during the customer abandoned visit.
visitStartedAt?   Maybe<Scalars[‘DateTime’][‘output’]> (Optional) The date and time when the visit started.