# Abandonment - admin-graphql - OBJECT Version: 2024-07 ## Description A browse, cart, or checkout that was abandoned by a customer. ### Access Scopes ## Fields * [abandonedCheckoutPayload](/docs/api/admin-graphql/2024-07/objects/AbandonedCheckout): AbandonedCheckout - The abandonment payload for the abandoned checkout. * [abandonmentType](/docs/api/admin-graphql/2024-07/enums/AbandonmentAbandonmentType): AbandonmentAbandonmentType! - The abandonment type. * [app](/docs/api/admin-graphql/2024-07/objects/App): App! - The app associated with an abandoned checkout. * [cartUrl](/docs/api/admin-graphql/2024-07/scalars/URL): URL - Permalink to the cart page. * [createdAt](/docs/api/admin-graphql/2024-07/scalars/DateTime): DateTime! - The date and time when the abandonment was created. * [customer](/docs/api/admin-graphql/2024-07/objects/Customer): Customer! - The customer who abandoned this event. * [customerHasNoDraftOrderSinceAbandonment](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the customer has a draft order since this abandonment has been abandoned. * [customerHasNoOrderSinceAbandonment](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the customer has completed an order since this checkout has been abandoned. * [daysSinceLastAbandonmentEmail](/docs/api/admin-graphql/2024-07/scalars/Int): Int! - The number of days since the last abandonment email was sent to the customer. * [emailSentAt](/docs/api/admin-graphql/2024-07/scalars/DateTime): DateTime - When the email was sent, if that's the case. * [emailState](/docs/api/admin-graphql/2024-07/enums/AbandonmentEmailState): AbandonmentEmailState - The email state (e.g., sent or not sent). * [hoursSinceLastAbandonedCheckout](/docs/api/admin-graphql/2024-07/scalars/Float): Float - The number of hours since the customer has last abandoned a checkout. * [id](/docs/api/admin-graphql/2024-07/scalars/ID): ID! - A globally-unique ID. * [inventoryAvailable](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the products in abandonment are available. * [isFromCustomStorefront](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the abandonment event comes from a custom storefront channel. * [isFromOnlineStore](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the abandonment event comes from the Online Store sales channel. * [isFromShopApp](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the abandonment event comes from the Shop app sales channel. * [isFromShopPay](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the abandonment event comes from Shop Pay. * [isMostSignificantAbandonment](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the customer didn't complete another most significant step since this abandonment. * [lastBrowseAbandonmentDate](/docs/api/admin-graphql/2024-07/scalars/DateTime): DateTime! - The date for the latest browse abandonment. * [lastCartAbandonmentDate](/docs/api/admin-graphql/2024-07/scalars/DateTime): DateTime! - The date for the latest cart abandonment. * [lastCheckoutAbandonmentDate](/docs/api/admin-graphql/2024-07/scalars/DateTime): DateTime! - The date for the latest checkout abandonment. * [mostRecentStep](/docs/api/admin-graphql/2024-07/enums/AbandonmentAbandonmentType): AbandonmentAbandonmentType! - The most recent step type. * [visitStartedAt](/docs/api/admin-graphql/2024-07/scalars/DateTime): DateTime - The date and time when the visit started. ## Connections * [productsAddedToCart](/docs/api/admin-graphql/2024-07/connections/CustomerVisitProductInfoConnection): CustomerVisitProductInfoConnection! * [productsViewed](/docs/api/admin-graphql/2024-07/connections/CustomerVisitProductInfoConnection): CustomerVisitProductInfoConnection! ## Related queries * [abandonment](/docs/api/admin-graphql/2024-07/queries/abandonment) Returns an abandonment by ID. * [abandonmentByAbandonedCheckoutId](/docs/api/admin-graphql/2024-07/queries/abandonmentByAbandonedCheckoutId) Returns an Abandonment by the Abandoned Checkout ID. ## Related mutations * [abandonmentEmailStateUpdate](/docs/api/admin-graphql/2024-07/mutations/abandonmentEmailStateUpdate) Updates the email state value for an abandonment. * [abandonmentUpdateActivitiesDeliveryStatuses](/docs/api/admin-graphql/2024-07/mutations/abandonmentUpdateActivitiesDeliveryStatuses) Updates the marketing activities delivery statuses for an abandonment. ## Related Unions ## Examples