Abandoned checkouts
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:
- GET /admin/api/2020-01/checkouts/count.json Retrieves a count of checkouts
- GET /admin/api/2020-01/checkouts.json Retrieves a list of abandoned checkouts
Abandoned checkouts properties
abandoned_checkout_url |
The recovery URL that's sent to a customer so they can recover their checkout. |
billing_address |
The mailing address associated with the payment method. It has the following properties:
|
buyer_accepts_marketing |
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. |
cart_token |
The ID for the cart that's attached to the checkout. |
closed_at |
The date and time (ISO 8601 format) when the checkout was closed. If the checkout was not closed, then this value is |
completed_at |
The date and time (ISO 8601 format) when the checkout was completed. For abandoned checkouts, this value is always |
created_at |
The date and time (ISO 8601 format) when the checkout was created. |
currency
read-only |
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 |
customer |
Information about the customer. For more information, see the Customer resource. |
customer_locale |
The two or three-letter language code, optionally followed by a region modifier.
Example values: |
device_id |
The ID of the Shopify POS device that created the checkout. |
discount_codes |
Discount codes applied to the checkout. Returns an empty array when no codes are applied. Each discount code has the following fields:
|
The customer's email address. |
|
gateway |
The payment gateway used by the checkout. For abandoned checkouts, this value is always |
id |
The ID for the checkout. |
landing_site |
The URL for the page where the customer entered the shop. |
line_items |
A list of line items, each containing information about an item in the checkout. Each object has the following properties:
|
location_id |
The ID of the physical location where the checkout was processed. |
note |
The text of an optional note that a shop owner can attach to the order. |
phone |
The customer's phone number for receiving SMS notifications. |
presentment_currency |
The three-letter code (ISO 4217 format) of the currency that the customer used at checkout. For the shop's default currency, see |
referring_site |
The website that referred the customer to the shop. |
shipping_address |
The mailing address where the order will be shipped to. It has the following properties:
|
shipping_lines |
Information about the chosen shipping method. It has the following properties:
|
source_name |
Where the checkout originated. Valid values: |
subtotal_price |
The price of the checkout in presentment currency before shipping and taxes. |
tax_lines |
An array of tax line objects, each of which details a tax applicable to the checkout. Each object has the following properties:
|
taxes_included |
Whether taxes are included in the price. |
token |
A unique ID for a checkout. |
total_discounts |
The total amount of discounts to be applied in presentment currency. |
total_line_items_price |
The sum of the prices of all line items in the checkout in presentment currency. |
total_price |
The sum of line item prices, all discounts, shipping costs, and taxes for the checkout in presentment currency. |
total_tax |
The sum of all the taxes applied to the checkout in presentment currency. |
total_weight |
The sum of all the weights in grams of the line items in the checkout. |
updated_at |
The date and time (ISO 8601 format) when the checkout was last modified. |
user_id |
The ID of the user who created the checkout. |
Endpoints
since_id
|
Restrict results to after the specified ID. |
created_at_min
|
Count checkouts created after the specified date. (format: 2014-04-25T16:15:47-04:00) |
created_at_max
|
Count checkouts created before the specified date. (format: 2014-04-25T16:15:47-04:00) |
updated_at_min
|
Count checkouts last updated after the specified date. (format: 2014-04-25T16:15:47-04:00) |
updated_at_max
|
Count checkouts last updated before the specified date. (format: 2014-04-25T16:15:47-04:00) |
status
|
Count checkouts with a given status. (default:open )
|
Count all checkouts
GET /admin/api/2020-01/checkouts/count.json
View Response
HTTP/1.1 200 OK
{
"count": 7
}
limit
|
The maximum number of results to show. (default:50 , maximum: 250 )
|
since_id
|
Restrict results to after the specified ID. |
created_at_min
|
Show checkouts created after the specified date. (format: 2014-04-25T16:15:47-04:00) |
created_at_max
|
Show checkouts created before the specified date. (format: 2014-04-25T16:15:47-04:00) |
updated_at_min
|
Show checkouts last updated after the specified date. (format: 2014-04-25T16:15:47-04:00) |
updated_at_max
|
Show checkouts last updated before the specified date. (format: 2014-04-25T16:15:47-04:00) |
status
|
Show only checkouts with a given status. (default:open )
|
Retrieve all abandoned checkouts
GET /admin/api/2020-01/checkouts.json
View Response
HTTP/1.1 200 OK
{
"checkouts": [
{
"id": 26371164,
"token": "zs9ru89kuqcdagk8bz4r9hnxt22wwd42",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [
{
"title": "Free Shipping",
"price": "0.00",
"code": "Free Shipping",
"source": "shopify",
"applied_discounts": [],
"id": "5da41c1738454765"
}
],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": 49148385,
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 10,
"requires_shipping": true,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "1990.00",
"price": "199.00"
},
{
"applied_discounts": [],
"key": 808950810,
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Pink",
"product_id": 632910392,
"properties": null,
"quantity": 10,
"requires_shipping": true,
"sku": "IPOD2008PINK",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 808950810,
"variant_title": "Pink",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "1990.00",
"price": "199.00"
}
],
"name": "#26371164",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/zs9ru89kuqcdagk8bz4r9hnxt22wwd42/recover",
"discount_codes": [],
"tax_lines": [
{
"price": "11.94",
"rate": 0.06,
"title": "State Tax"
}
],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "0.00",
"total_line_items_price": "3980.00",
"total_price": "3991.94",
"total_tax": "11.94",
"subtotal_price": "3980.00",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
},
{
"id": 86568385,
"token": "b490a9220cd14d7344024f4874f640a6",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": 49148385,
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": false,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "0.00",
"price": "0.00"
}
],
"name": "#86568385",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/b490a9220cd14d7344024f4874f640a6/recover",
"discount_codes": [],
"tax_lines": [],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "0.00",
"total_line_items_price": "0.00",
"total_price": "0.00",
"total_tax": "0.00",
"subtotal_price": "0.00",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
},
{
"id": 446514532,
"token": "7yjf4v2we7gamku6a6h7tvm8h3mmvs4x",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [
{
"title": "Free Shipping",
"price": "0.00",
"code": "Free Shipping",
"source": "shopify",
"applied_discounts": [],
"id": "5da41c1738454765"
}
],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": "471b634eedf55e4e",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
},
{
"applied_discounts": [],
"key": "ac96bc8c1f82a9d4",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Pink",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008PINK",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 808950810,
"variant_title": "Pink",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
}
],
"name": "#446514532",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/7yjf4v2we7gamku6a6h7tvm8h3mmvs4x/recover",
"discount_codes": [],
"tax_lines": [
{
"price": "21.49",
"rate": 0.06,
"title": "State Tax"
}
],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "0.00",
"total_line_items_price": "398.00",
"total_price": "419.49",
"total_tax": "21.49",
"subtotal_price": "398.00",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
},
{
"id": 450789469,
"token": "2a1ace52255252df566af0faaedfbfa7",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": null,
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [
{
"title": "Free Shipping",
"price": "0.00",
"code": "Free Shipping",
"source": "shopify",
"applied_discounts": [],
"id": "5da41c1738454765"
}
],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": "b32ce733ef97c35b",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
},
{
"applied_discounts": [],
"key": "64047c71cfdc0d5e",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Pink",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008PINK",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 808950810,
"variant_title": "Pink",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
}
],
"name": "#450789469",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/2a1ace52255252df566af0faaedfbfa7/recover",
"discount_codes": [
{
"code": "TENOFF",
"amount": "39.80",
"type": "percentage"
}
],
"tax_lines": [
{
"price": "21.49",
"rate": 0.06,
"title": "State Tax"
}
],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "39.80",
"total_line_items_price": "398.00",
"total_price": "379.69",
"total_tax": "21.49",
"subtotal_price": "358.20",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
},
{
"id": 482379045,
"token": "mKjuzB2XqIsjtw18ubwx1twwD5B",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [
{
"title": "Free Shipping",
"price": "0.00",
"code": "Free Shipping",
"source": "shopify",
"applied_discounts": [],
"id": "5da41c1738454765"
}
],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": "471b634eedf55e4e",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
},
{
"applied_discounts": [],
"key": "ac96bc8c1f82a9d4",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Pink",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008PINK",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 808950810,
"variant_title": "Pink",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
}
],
"name": "#482379045",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/mKjuzB2XqIsjtw18ubwx1twwD5B/recover",
"discount_codes": [],
"tax_lines": [
{
"price": "21.49",
"rate": 0.06,
"title": "State Tax"
}
],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "0.00",
"total_line_items_price": "398.00",
"total_price": "419.49",
"total_tax": "21.49",
"subtotal_price": "398.00",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
},
{
"id": 862052962,
"token": "exuw7apwoycchjuwtiqg8nytfhphr62a",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [
{
"title": "Free Shipping",
"price": "0.00",
"code": "Free Shipping",
"source": "shopify",
"applied_discounts": [],
"id": "5da41c1738454765"
}
],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": "471b634eedf55e4e",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
},
{
"applied_discounts": [],
"key": "ac96bc8c1f82a9d4",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Pink",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008PINK",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 808950810,
"variant_title": "Pink",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
}
],
"name": "#862052962",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/exuw7apwoycchjuwtiqg8nytfhphr62a/recover",
"discount_codes": [],
"tax_lines": [
{
"price": "21.49",
"rate": 0.06,
"title": "State Tax"
}
],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "0.00",
"total_line_items_price": "398.00",
"total_price": "419.49",
"total_tax": "21.49",
"subtotal_price": "398.00",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
},
{
"id": 901414060,
"token": "bd5a8aa1ecd019dd3520ff791ee3a24c",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [
{
"title": "Free Shipping",
"price": "0.00",
"code": "Free Shipping",
"source": "shopify",
"applied_discounts": [],
"id": "5da41c1738454765"
}
],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": "2005-07-31T11:57:11-04:00",
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": "471b634eedf55e4e",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
},
{
"applied_discounts": [],
"key": "ac96bc8c1f82a9d4",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Pink",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008PINK",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 808950810,
"variant_title": "Pink",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
}
],
"name": "#901414060",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/bd5a8aa1ecd019dd3520ff791ee3a24c/recover",
"discount_codes": [],
"tax_lines": [
{
"price": "21.49",
"rate": 0.06,
"title": "State Tax"
}
],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "0.00",
"total_line_items_price": "398.00",
"total_price": "419.49",
"total_tax": "21.49",
"subtotal_price": "398.00",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
}
]
}
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:
- GET /admin/api/2020-04/checkouts/count.json Retrieves a count of checkouts
- GET /admin/api/2020-04/checkouts.json Retrieves a list of abandoned checkouts
Abandoned checkouts properties
abandoned_checkout_url |
The recovery URL that's sent to a customer so they can recover their checkout. |
billing_address |
The mailing address associated with the payment method. It has the following properties:
|
buyer_accepts_marketing |
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. |
cart_token |
The ID for the cart that's attached to the checkout. |
closed_at |
The date and time (ISO 8601 format) when the checkout was closed. If the checkout was not closed, then this value is |
completed_at |
The date and time (ISO 8601 format) when the checkout was completed. For abandoned checkouts, this value is always |
created_at |
The date and time (ISO 8601 format) when the checkout was created. |
currency
read-only |
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 |
customer |
Information about the customer. For more information, see the Customer resource. |
customer_locale |
The two or three-letter language code, optionally followed by a region modifier.
Example values: |
device_id |
The ID of the Shopify POS device that created the checkout. |
discount_codes |
Discount codes applied to the checkout. Returns an empty array when no codes are applied. Each discount code has the following fields:
|
The customer's email address. |
|
gateway |
The payment gateway used by the checkout. For abandoned checkouts, this value is always |
id |
The ID for the checkout. |
landing_site |
The URL for the page where the customer entered the shop. |
line_items |
A list of line items, each containing information about an item in the checkout. Each object has the following properties:
|
location_id |
The ID of the physical location where the checkout was processed. |
note |
The text of an optional note that a shop owner can attach to the order. |
phone |
The customer's phone number for receiving SMS notifications. |
presentment_currency |
The three-letter code (ISO 4217 format) of the currency that the customer used at checkout. For the shop's default currency, see |
referring_site |
The website that referred the customer to the shop. |
shipping_address |
The mailing address where the order will be shipped to. It has the following properties:
|
shipping_lines |
Information about the chosen shipping method. It has the following properties:
|
source_name |
Where the checkout originated. Valid values: |
subtotal_price |
The price of the checkout in presentment currency before shipping and taxes. |
tax_lines |
An array of tax line objects, each of which details a tax applicable to the checkout. Each object has the following properties:
|
taxes_included |
Whether taxes are included in the price. |
token |
A unique ID for a checkout. |
total_discounts |
The total amount of discounts to be applied in presentment currency. |
total_duties
read-only |
The total duties of the checkout in presentment currency. |
total_line_items_price |
The sum of the prices of all line items in the checkout in presentment currency. |
total_price |
The sum of line item prices, all discounts, shipping costs, and taxes for the checkout in presentment currency. |
total_tax |
The sum of all the taxes applied to the checkout in presentment currency. |
total_weight |
The sum of all the weights in grams of the line items in the checkout. |
updated_at |
The date and time (ISO 8601 format) when the checkout was last modified. |
user_id |
The ID of the user who created the checkout. |
Endpoints
since_id
|
Restrict results to after the specified ID. |
created_at_min
|
Count checkouts created after the specified date. (format: 2014-04-25T16:15:47-04:00) |
created_at_max
|
Count checkouts created before the specified date. (format: 2014-04-25T16:15:47-04:00) |
updated_at_min
|
Count checkouts last updated after the specified date. (format: 2014-04-25T16:15:47-04:00) |
updated_at_max
|
Count checkouts last updated before the specified date. (format: 2014-04-25T16:15:47-04:00) |
status
|
Count checkouts with a given status. (default:open )
|
Count all checkouts
GET /admin/api/2020-04/checkouts/count.json
View Response
HTTP/1.1 200 OK
{
"count": 7
}
limit
|
The maximum number of results to show. (default:50 , maximum: 250 )
|
since_id
|
Restrict results to after the specified ID. |
created_at_min
|
Show checkouts created after the specified date. (format: 2014-04-25T16:15:47-04:00) |
created_at_max
|
Show checkouts created before the specified date. (format: 2014-04-25T16:15:47-04:00) |
updated_at_min
|
Show checkouts last updated after the specified date. (format: 2014-04-25T16:15:47-04:00) |
updated_at_max
|
Show checkouts last updated before the specified date. (format: 2014-04-25T16:15:47-04:00) |
status
|
Show only checkouts with a given status. (default:open )
|
Retrieve all abandoned checkouts
GET /admin/api/2020-04/checkouts.json
View Response
HTTP/1.1 200 OK
{
"checkouts": [
{
"id": 26371164,
"token": "zs9ru89kuqcdagk8bz4r9hnxt22wwd42",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [
{
"title": "Free Shipping",
"price": "0.00",
"code": "Free Shipping",
"source": "shopify",
"applied_discounts": [],
"id": "5da41c1738454765"
}
],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": 49148385,
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 10,
"requires_shipping": true,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "1990.00",
"price": "199.00"
},
{
"applied_discounts": [],
"key": 808950810,
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Pink",
"product_id": 632910392,
"properties": null,
"quantity": 10,
"requires_shipping": true,
"sku": "IPOD2008PINK",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 808950810,
"variant_title": "Pink",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "1990.00",
"price": "199.00"
}
],
"name": "#26371164",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/zs9ru89kuqcdagk8bz4r9hnxt22wwd42/recover",
"discount_codes": [],
"tax_lines": [
{
"price": "11.94",
"rate": 0.06,
"title": "State Tax"
}
],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "0.00",
"total_line_items_price": "3980.00",
"total_price": "3991.94",
"total_tax": "11.94",
"subtotal_price": "3980.00",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
},
{
"id": 86568385,
"token": "b490a9220cd14d7344024f4874f640a6",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": 49148385,
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": false,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "0.00",
"price": "0.00"
}
],
"name": "#86568385",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/b490a9220cd14d7344024f4874f640a6/recover",
"discount_codes": [],
"tax_lines": [],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "0.00",
"total_line_items_price": "0.00",
"total_price": "0.00",
"total_tax": "0.00",
"subtotal_price": "0.00",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
},
{
"id": 446514532,
"token": "7yjf4v2we7gamku6a6h7tvm8h3mmvs4x",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [
{
"title": "Free Shipping",
"price": "0.00",
"code": "Free Shipping",
"source": "shopify",
"applied_discounts": [],
"id": "5da41c1738454765"
}
],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en",
"line_items": [
{
"applied_discounts": [],
"key": "471b634eedf55e4e",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Red",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008RED",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 49148385,
"variant_title": "Red",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
},
{
"applied_discounts": [],
"key": "ac96bc8c1f82a9d4",
"destination_location_id": null,
"fulfillment_service": "manual",
"gift_card": false,
"grams": 200,
"origin_location_id": null,
"presentment_title": "IPod Nano - 8GB",
"presentment_variant_title": "Pink",
"product_id": 632910392,
"properties": null,
"quantity": 1,
"requires_shipping": true,
"sku": "IPOD2008PINK",
"tax_lines": [],
"taxable": true,
"title": "IPod Nano - 8GB",
"variant_id": 808950810,
"variant_title": "Pink",
"variant_price": null,
"vendor": "Apple",
"user_id": null,
"unit_price_measurement": null,
"rank": null,
"compare_at_price": null,
"line_price": "199.00",
"price": "199.00"
}
],
"name": "#446514532",
"source": null,
"abandoned_checkout_url": "https://checkout.local/690933842/checkouts/7yjf4v2we7gamku6a6h7tvm8h3mmvs4x/recover",
"discount_codes": [],
"tax_lines": [
{
"price": "21.49",
"rate": 0.06,
"title": "State Tax"
}
],
"source_name": "web",
"presentment_currency": "USD",
"total_discounts": "0.00",
"total_line_items_price": "398.00",
"total_price": "419.49",
"total_tax": "21.49",
"subtotal_price": "398.00",
"total_duties": null,
"billing_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"shipping_address": {
"first_name": "Bob",
"address1": "Chestnut Street 92",
"phone": "555-625-1199",
"city": "Louisville",
"zip": "40202",
"province": "Kentucky",
"country": "United States",
"last_name": "Norman",
"address2": "",
"company": null,
"latitude": 45.41634,
"longitude": -75.6868,
"name": "Bob Norman",
"country_code": "US",
"province_code": "KY"
},
"customer": {
"id": 207119551,
"email": "bob.norman@hostmail.com",
"accepts_marketing": false,
"created_at": "2021-01-01T14:22:39-05:00",
"updated_at": "2021-01-01T14:22:39-05:00",
"first_name": "Bob",
"last_name": "Norman",
"orders_count": 1,
"state": "disabled",
"total_spent": "199.65",
"last_order_id": 450789469,
"note": null,
"verified_email": true,
"multipass_identifier": null,
"tax_exempt": false,
"phone": "+16136120707",
"tags": "",
"last_order_name": "#1001",
"currency": "USD",
"accepts_marketing_updated_at": "2005-06-12T11:57:11-04:00",
"marketing_opt_in_level": null,
"tax_exemptions": [],
"admin_graphql_api_id": "gid://shopify/Customer/207119551",
"default_address": {
"id": 207119551,
"customer_id": 207119551,
"first_name": null,
"last_name": null,
"company": null,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"province": "Kentucky",
"country": "United States",
"zip": "40202",
"phone": "555-625-1199",
"name": "",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}
}
},
{
"id": 450789469,
"token": "2a1ace52255252df566af0faaedfbfa7",
"cart_token": "68778783ad298f1c80c3bafcddeea02f",
"email": "bob.norman@hostmail.com",
"gateway": null,
"buyer_accepts_marketing": false,
"created_at": "2012-10-12T07:05:27-04:00",
"updated_at": "2012-10-12T07:05:27-04:00",
"landing_site": null,
"note": null,
"note_attributes": [
{
"name": "custom engraving",
"value": "Happy Birthday"
},
{
"name": "colour",
"value": "green"
}
],
"referring_site": null,
"shipping_lines": [
{
"title": "Free Shipping",
"price": "0.00",
"code": "Free Shipping",
"source": "shopify",
"applied_discounts": [],
"id": "5da41c1738454765"
}
],
"taxes_included": false,
"total_weight": 400,
"currency": "USD",
"completed_at": null,
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone"