The REST Admin API is a legacy API as of October 1, 2024. Starting April 1, 2025, all new public apps must be built exclusively with the GraphQL Admin API. For details and migration steps, visit our migration guide.
Abandoned checkouts
orders
access scope.You can use the Abandoned checkouts resource to retrieve a list and a count of abandoned checkouts. A checkout is considered abandoned after the customer has added contact information, but before the customer has completed their purchase.
This resource may be helpful to complete the following actions:
- Gather marketing information on customers who have abandoned their cart.
- Use information to remarket to abandoned checkout customers.
- Understand customers’ behavior.
- Track abandoned checkouts over time.
- View abandoned checkout items.
Endpoints
- get/admin/api/latest/checkouts.
json?created_ at_ max=2013-10-12T07:05:27-02:00 Retrieves a count of checkouts - get/admin/api/latest/checkouts.
json?limit=1 Retrieves a list of abandoned checkouts
The Abandoned checkouts resource
Properties
The recovery URL that's sent to a customer so they can recover their checkout.
The mailing address associated with the payment method. It has the following properties:
Show billing_address properties
- address1: The street address of the billing address.
- address2: An optional additional field for the street address of the billing address.
- city: The city of the billing address.
- company: The company of the person associated with the billing address.
- country: The name of the country of the billing address.
- country_code: The two-letter code (ISO 3166-1 alpha-2 format) for the country of the billing address.
- default: Whether this is the default address for the customer.
- first_name: The first name of the person associated with the payment method.
- last_name: The last name of the person associated with the payment method.
- latitude: The latitude of the billing address.
- longitude: The longitude of the billing address.
- name: The full name of the person associated with the payment method.
- phone: The phone number at the billing address.
- province: The name of the state or province of the billing address.
- province_code: The alphanumeric abbreviation of the state or province of the billing address.
- zip: The zip or postal code of the billing address.
Whether the customer would like to receive email updates from the shop. This is set by the I want to receive occasional emails about new products, promotions and other news checkbox during checkout.
Whether the customer would like to receive SMS updates from the shop. This is set by the Text me with news and offers checkbox during checkout.
The ID for the cart that's attached to the checkout.
The date and time (ISO 8601 format) when the checkout was closed. If the checkout was not closed, then this value is null
.
The date and time (ISO 8601 format) when the checkout was completed. For abandoned checkouts, this value is null
until a customer completes the checkout using the recovery URL.
The date and time (ISO 8601 format) when the checkout was created.
The three-letter code (ISO 4217 format) of the shop's default currency at the time of checkout. For the currency that the customer used at checkout, see presentment_currency
.
The customer details associated with the abandoned checkout. For more information, refer to the Customer resource.
The two or three-letter language code, optionally followed by a region modifier.
Example values: en
, en-CA
.
The ID of the Shopify POS device that created the checkout. This field is deprecated.
The Abandoned checkouts resource
Anchor to GET request, Retrieves a count of checkoutsgetRetrieves a count of checkouts
Retrieves a count of checkouts from the past 90 days
Count checkouts created before the specified date. (format: 2014-04-25T16:15:47-04:00)
Count checkouts created after the specified date. (format: 2014-04-25T16:15:47-04:00)
Restrict results to after the specified ID.
Count checkouts with a given status.
Show status properties
open: Count only open abandoned checkouts.
closed: Count only closed abandoned checkouts that have been archived.
Count checkouts last updated before the specified date. (format: 2014-04-25T16:15:47-04:00)
Count checkouts last updated after the specified date. (format: 2014-04-25T16:15:47-04:00)
Count abandoned checkouts created before date specified
Count abandoned checkouts created before date specified
Count checkouts created before the specified date. (format: 2014-04-25T16:15:47-04:00)
Count all abandoned checkouts
Count all abandoned checkouts
Count closed abandoned checkouts
Count closed abandoned checkouts
Count checkouts with a given status.
Show status properties
open: Count only open abandoned checkouts.
closed: Count only closed abandoned checkouts that have been archived.
/admin/api/2025-07/checkouts. json?created_ at_ max= 2013-10-12T07:05:27-02:00
Response
Anchor to GET request, Retrieves a list of abandoned checkoutsgetRetrieves a list of abandoned checkouts
Retrieves a list of abandoned checkouts.
Show checkouts created before the specified date. (format: 2014-04-25T16:15:47-04:00)
Show checkouts created after the specified date. (format: 2014-04-25T16:15:47-04:00)
The maximum number of results to show.
Restrict results to after the specified ID.
Show only checkouts with a given status.
Show status properties
open: Show only open abandoned checkouts.
closed: Count only closed abandoned checkouts that have been archived.
Show checkouts last updated before the specified date. (format: 2014-04-25T16:15:47-04:00)
Show checkouts last updated after the specified date. (format: 2014-04-25T16:15:47-04:00)
Retrieve a limited number of abandoned checkouts
Retrieve a limited number of abandoned checkouts
The maximum number of results to show.
Retrieve all abandoned checkouts
Retrieve all abandoned checkouts
Retrieve checkouts created before date specified
Retrieve checkouts created before date specified
Show checkouts created before the specified date. (format: 2014-04-25T16:15:47-04:00)
Retrieve closed abandoned checkouts
Retrieve closed abandoned checkouts
Show only checkouts with a given status.
Show status properties
open: Show only open abandoned checkouts.
closed: Count only closed abandoned checkouts that have been archived.