Query on childProductsCount for the Collections End Point
Summary:
Trying to get a list of collections that do not have any products assigned to them. When I perform this command the API call returns:
{
"errorCode": "85003",
"message": "Invalid attribute in query: childProductsCount",
"status": "400"
}
Content (required):
{
"longDescription": null,
"childProductsCount": 0,
"categoryImages": [],
"displayName": "Adhesives and Sealants",
"categoryPaths": [
"/Storefront Navigation/Adhesives and Sealants"
],
"active": true,
"description": null,
"categoryIdPaths": [
"rootCategory>mixcat_adhesives_and_sealants"
],
"childCategories": null,
"fixedParentCategories": [
{
"repositoryId": "rootCategory"
}
],
"creationDate": "2023-06-26T17:29:30.000Z",
"route": "/adhesives-and-sealants/category/mixcat_adhesives_and_sealants",
"repositoryId": "mixcat_adhesives_and_sealants",
"parentCategory": {
"repositoryId": "rootCategory"
},
"id": "mixcat_adhesives_and_sealants"
},
{
"longDescription": null,
"childProductsCount": 19,
"categoryImages": [],
"displayName": "Arm",
"categoryPaths": [
"/Storefront Navigation/PARTS/Hydraulic Plumbing/Arm"