VTEX · Schema

GetCategoryTree

CommerceE-CommerceRetailMarketplacePayments

Properties

Name Type Description
id integer Category ID.
name string Category name.
hasChildren boolean If the category has a category child (`true`) or not (`false`).
url string Category URL.
children array Array with information about the category's children.
Title string Category page title.
MetaTagDescription string Category page Meta tag description.
View JSON Schema on GitHub

JSON Schema

vtex-getcategorytree-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetCategoryTree",
  "title": "GetCategoryTree",
  "required": [
    "id",
    "name",
    "hasChildren",
    "url",
    "children",
    "Title",
    "MetaTagDescription"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32",
      "description": "Category ID.",
      "example": 1
    },
    "name": {
      "type": "string",
      "description": "Category name.",
      "example": "Toys"
    },
    "hasChildren": {
      "type": "boolean",
      "description": "If the category has a category child (`true`) or not (`false`).",
      "example": true
    },
    "url": {
      "type": "string",
      "description": "Category URL.",
      "example": "https://lojadobreno.vtexcommercestable.com.br/toys"
    },
    "children": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GetCategoryTreeChild"
      },
      "description": "Array with information about the category's children."
    },
    "Title": {
      "type": "string",
      "description": "Category page title.",
      "example": "Toys"
    },
    "MetaTagDescription": {
      "type": "string",
      "description": "Category page Meta tag description.",
      "example": "New and used toys for sale."
    }
  },
  "example": {
    "id": 1,
    "name": "Alimenta\u00e7\u00e3o",
    "hasChildren": true,
    "url": "https://lojadobreno.vtexcommercestable.com.br/alimentacao",
    "children": [
      {
        "id": 6,
        "name": "Bebedouro",
        "hasChildren": false,
        "url": "https://lojadobreno.vtexcommercestable.com.br/alimentacao/bebedouro",
        "children": [],
        "Title": "Bebedouro para Gatos",
        "MetaTagDescription": ""
      },
      {
        "id": 7,
        "name": "Comedouro",
        "hasChildren": false,
        "url": "https://lojadobreno.vtexcommercestable.com.br/alimentacao/comedouro",
        "children": [],
        "Title": "Comedouro para Gatos",
        "MetaTagDescription": ""
      },
      {
        "id": 8,
        "name": "Biscoitos",
        "hasChildren": false,
        "url": "https://lojadobreno.vtexcommercestable.com.br/alimentacao/biscoitos",
        "children": [],
        "Title": "Biscoitos para Gatos",
        "MetaTagDescription": ""
      },
      {
        "id": 9,
        "name": "Petiscos",
        "hasChildren": false,
        "url": "https://lojadobreno.vtexcommercestable.com.br/alimentacao/petiscos",
        "children": [],
        "Title": "Petiscos para Gatos",
        "MetaTagDescription": ""
      },
      {
        "id": 10,
        "name": "Ra\u00e7\u00e3o Seca",
        "hasChildren": false,
        "url": "https://lojadobreno.vtexcommercestable.com.br/alimentacao/racao-seca",
        "children": [],
        "Title": "Ra\u00e7\u00e3o Seca para Gatos",
        "MetaTagDescription": ""
      },
      {
        "id": 11,
        "name": "Ra\u00e7\u00e3o \u00damida",
        "hasChildren": false,
        "url": "https://lojadobreno.vtexcommercestable.com.br/alimentacao/racao-umida",
        "children": [],
        "Title": "Ra\u00e7\u00e3o \u00damida para Gatos",
        "MetaTagDescription": ""
      }
    ],
    "Title": "Alimenta\u00e7\u00e3o para Gatos",
    "MetaTagDescription": ""
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vtex-getcategorytree"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.