https://shopify.com/admin/api/2021-01/checkouts/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/orders/abandoned-checkouts#count-2021-01
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"
}
}1curl --request GET \2 --url 'https://shopify.com/admin/api/2021-01/checkouts/count.json' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}https://shopify.com/admin/api/2021-01/checkouts/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/orders/abandoned-checkouts#count-2021-01
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"
}
}1curl --request GET \2 --url 'https://shopify.com/admin/api/2021-01/checkouts/count.json' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}