Skip to main content
object

Requires read_orders access scope. Also: The user must have manage_abandoned_checkouts permission.

An incomplete checkout where the customer added items and provided contact information but didn't complete the purchase. Tracks the customer's cart contents, pricing details, addresses, and timestamps to enable recovery campaigns and abandonment analytics.

The checkout includes a recovery URL that merchants can send to customers to resume their purchase. AbandonedCheckoutLineItem objects preserve the original Product selections, quantities, and pricing at the time of abandonment.

Anchor to abandonedCheckoutUrlabandonedCheckoutUrl
•URL!
non-null

The URL for the buyer to recover their checkout.

•MailingAddress

The billing address provided by the buyer. Null if the user did not provide a billing address.

•DateTime

The date and time when the buyer completed the checkout. Null if the checkout has not been completed.

•DateTime!
non-null

The date and time when the checkout was created.

•[Attribute!]!
non-null

A list of extra information that has been added to the checkout.

•Customer

The customer who created this checkout. May be null if the checkout was created from a draft order or via an app.

•String!
non-null

A default cursor that returns the single next record, sorted ascending by ID.

•[String!]!
non-null

The discount codes entered by the buyer at checkout.

•ID!
non-null

A globally-unique ID.

•AbandonedCheckoutLineItemConnection!
non-null

A list of the line items in this checkout.

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.


•String!
non-null

Unique merchant-facing identifier for the checkout.

•String!
non-null

A merchant-facing note added to the checkout. Not visible to the buyer.

•MailingAddress

The shipping address to where the line items will be shipped. Null if the user did not provide a shipping address.

•MoneyBag!
non-null

The sum of all items in the checkout, including discounts but excluding shipping, taxes and tips.

•Boolean!
non-null

Whether taxes are included in line item and shipping line prices.

•[TaxLine!]!
non-null

Individual taxes charged on the checkout.

•MoneyBag!
non-null

The total amount of discounts to be applied.

•MoneyBag

The total duties applied to the checkout.

Anchor to totalLineItemsPriceSettotalLineItemsPriceSet
•MoneyBag!
non-null

The sum of the prices of all line items in the checkout.

•MoneyBag!
non-null

The sum of all items in the checkout, including discounts, shipping, taxes, and tips.

•MoneyBag

The total tax applied to the checkout.

•DateTime!
non-null

The date and time when the checkout was most recently updated.

•Int!
non-nullDeprecated

Was this section helpful?

•query

Returns a list of abandoned checkouts. A checkout is considered abandoned when a customer adds contact information but doesn't complete their purchase. Includes both abandoned and recovered checkouts.

Each checkout provides Customer details, AbandonedCheckoutLineItem objects, pricing information, and a recovery URL for re-engaging customers who didn't complete their purchase.

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.

•AbandonedCheckoutSortKeys
Default:ID

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Anchor to default
•string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
Anchor to created_at
•time

The date and time (in ISO 8601 format) when the abandoned cart was created.

Anchor to email_state
•string

Filter by abandoned_email_state value. Possible values: sent, not_sent, scheduled and suppressed.

•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to recovery_state
•string

Possible values: recovered and not_recovered.

•string

Possible values: open and closed.

Anchor to updated_at
•time

The date and time (in ISO 8601 format) when the abandoned cart was last updated.

•ID

The ID of a saved search. The search’s query string is used as the query argument.



Was this section helpful?

•interface

Was this section helpful?