https://shopify.com/admin/api/2020-07/checkouts/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/orders/abandoned-checkouts#count-2020-07
Restrict results to after the specified ID.
Count checkouts created after the specified date. (format: 2014-04-25T16:15:47-04:00)
Count checkouts created 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 checkouts last updated before the specified date. (format: 2014-04-25T16:15:47-04:00)
Count checkouts with a given status. (default: open) open: Count only open abandoned checkouts. closed: Count only closed abandoned checkouts.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://shopify.com/admin/api/2020-07/checkouts/count.json' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://shopify.com/admin/api/2020-07/checkouts/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/orders/abandoned-checkouts#count-2020-07
Restrict results to after the specified ID.
Count checkouts created after the specified date. (format: 2014-04-25T16:15:47-04:00)
Count checkouts created 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 checkouts last updated before the specified date. (format: 2014-04-25T16:15:47-04:00)
Count checkouts with a given status. (default: open) open: Count only open abandoned checkouts. closed: Count only closed abandoned checkouts.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://shopify.com/admin/api/2020-07/checkouts/count.json' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}