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"
}
}curl --request GET \
--url 'https://shopify.com/admin/api/unstable/custom_collections/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/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"
}
}curl --request GET \
--url 'https://shopify.com/admin/api/unstable/custom_collections/count.json' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}