https://shopify.com/admin/api/unstable/custom_collections/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/products/customcollection#count-unstable
Count custom collections with given title.
Count custom collections that include a given product.
Count custom collections last updated after date (format: 2014-04-25T16:15:47-04:00).
Count custom collections last updated before date (format: 2014-04-25T16:15:47-04:00).
Count custom collections published after date (format: 2014-04-25T16:15:47-04:00).
Count custom collections published before date (format: 2014-04-25T16:15:47-04:00).
Count custom collections with a given published status. (default: any) published: Count only published custom collections. unpublished: Count only unpublished custom collections. any: Count custom collections of any published status.
{
"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/unstable/custom_collections/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/unstable/custom_collections/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/products/customcollection#count-unstable
Count custom collections with given title.
Count custom collections that include a given product.
Count custom collections last updated after date (format: 2014-04-25T16:15:47-04:00).
Count custom collections last updated before date (format: 2014-04-25T16:15:47-04:00).
Count custom collections published after date (format: 2014-04-25T16:15:47-04:00).
Count custom collections published before date (format: 2014-04-25T16:15:47-04:00).
Count custom collections with a given published status. (default: any) published: Count only published custom collections. unpublished: Count only unpublished custom collections. any: Count custom collections of any published status.
{
"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/unstable/custom_collections/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}