Abandoned checkouts

Version 2020-04
You can query the Checkout resource to return abandoned checkouts. A checkout is considered abandoned when a customer leaves the checkout after the first page without completing their purchase.

What you can do with Abandoned checkouts

The Shopify API lets you do the following with the Abandoned checkouts resource. More detailed versions of these general actions may be available:

Abandoned checkouts properties

abandoned_checkout_url
"abandoned_checkout_url": "https://www.snowdevil.ca/14168/checkouts/68778783ad298f1c80c3bafcddeea/recover?key=6dacd6065bb80268bda857ee"

The recovery URL that's sent to a customer so they can recover their checkout.

billing_address
"billing_address": {
  "address1": "Chestnut Street 92",
  "address2": "",
  "city": "Louisville",
  "company": null,
  "country": "United States",
  "country_code": "US",
  "default": true,
  "first_name": "Greg",
  "id": 207119551,
  "last_name": "Piotrowski",
  "name": "Greg Piotrowski",
  "phone": "555-625-1199",
  "province": "Kentucky",
  "province_code": "KY",
  "zip": "40202"
}

The mailing address associated with the payment method. It has the following 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 two-letter abbreviation of the state or province of the billing address.
  • zip: The zip or postal code of the billing address.

buyer_accepts_marketi