https://shopify.com/admin/api/2020-04/smart_collections/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/products/smartcollection#count-2020-04
Show smart collections with the specified title.
Show smart collections that include the specified product.
Show smart collections last updated after this date. (format: 2014-04-25T16:15:47-04:00)
Show smart collections last updated before this date. (format: 2014-04-25T16:15:47-04:00)
Show smart collections published after this date. (format: 2014-04-25T16:15:47-04:00)
Show smart collections published before this date. (format: 2014-04-25T16:15:47-04:00)
Filter results based on the published status of smart collections. (default: any) published: Show only published smart collections. unpublished: Show only unpublished smart collections. any: Show all smart collections.
{
"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/2020-04/smart_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/2020-04/smart_collections/count.jsonhttps://shopify.dev/docs/admin-api/rest/reference/products/smartcollection#count-2020-04
Show smart collections with the specified title.
Show smart collections that include the specified product.
Show smart collections last updated after this date. (format: 2014-04-25T16:15:47-04:00)
Show smart collections last updated before this date. (format: 2014-04-25T16:15:47-04:00)
Show smart collections published after this date. (format: 2014-04-25T16:15:47-04:00)
Show smart collections published before this date. (format: 2014-04-25T16:15:47-04:00)
Filter results based on the published status of smart collections. (default: any) published: Show only published smart collections. unpublished: Show only unpublished smart collections. any: Show all smart collections.
{
"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/2020-04/smart_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}