CategoryWithTree
Category with recursive subcategories
OBJECT
CategoryWithTreeFields
idString!slugString!nameString!descriptionString!seoTitleString!seoDescriptionString!parentIdStringsortOrderIntstatusStringcoverUrlStringfullName[String!]fullUriStringtranslatedUri[TranslatedUri!]!createdAtDateTimeupdatedAtDateTimeattributes[Attribute!]!coverImageImagecoverVideoVideosubCategories[CategoryWithTree!]!Example JSON
{
"id": "string",
"slug": "string",
"name": "string",
"description": "string",
"seoTitle": "string",
"seoDescription": "string",
"parentId": "string",
"sortOrder": 0,
"status": "string",
"coverUrl": "string",
"fullName": [
"string"
],
"fullUri": "string",
"translatedUri": [
{
"locale": "string",
"uri": "string"
}
],
"createdAt": null,
"updatedAt": null,
"attributes": [
{
"id": "string",
"key": "string",
"name": "string",
"description": "string",
"templateKey": "string",
"filterable": true,
"createdAt": null,
"updatedAt": null
}
],
"coverImage": {
"id": "string",
"url": "string",
"title": "string",
"altText": "string",
"copyright": "string",
"sort": 0,
"status": "ACTIVE",
"blurhash": "string",
"createdWithAi": true,
"firstStorefront": true,
"createdAt": "string",
"updatedAt": null
},
"coverVideo": {
"id": "string",
"url": "string",
"title": "string",
"description": "string",
"sort": 0,
"status": "ACTIVE",
"createdWithAi": true,
"firstStorefront": true,
"createdAt": "string",
"updatedAt": null
},
"subCategories": [
{
"id": "string",
"slug": "string",
"name": "string",
"description": "string",
"seoTitle": "string",
"seoDescription": "string",
"parentId": "string",
"sortOrder": 0,
"status": "string",
"coverUrl": "string",
"fullName": [
"string"
],
"fullUri": "string",
"createdAt": null,
"updatedAt": null
}
]
}Used by