Skip to content
Esc
↑↓navigate↵open⌘Jpreview

CategoryWithTree

Category with recursive subcategories

OBJECTCategoryWithTree
Fields
idString!
slugString!
nameString!
descriptionString!
seoTitleString!
seoDescriptionString!
parentIdString
sortOrderInt
statusString
coverUrlString
fullName[String!]
fullUriString
translatedUri[TranslatedUri!]!
createdAtDateTime
updatedAtDateTime
attributes[Attribute!]!
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
    }
  ],
  "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