VTEX Category API

The Category API from VTEX — 6 operation(s) for category.

Documentation

📖
Documentation
https://developers.vtex.com/docs/guides/how-the-integration-protocol-between-vtex-and-antifraud-companies-works
📖
Documentation
https://developers.vtex.com/docs/guides/bulk-import-buyer-organizations-spreadsheet
📖
Documentation
https://developers.vtex.com/docs/guides/catalog-api-seller-portal-overview
📖
Documentation
https://developers.vtex.com/docs/guides/catalog-overview
📖
Documentation
https://developers.vtex.com/docs/guides/checkout-overview
📖
Documentation
https://help.vtex.com/en/tutorial/customer-credit-overview--1uIqTjWxIIIEW0COMg4uE0
📖
Documentation
https://help.vtex.com/en/tutorial/data-subject-rights--6imchxTx09icupKMbzHVIM
📖
Documentation
https://developers.vtex.com/docs/api-reference/do-api
📖
Documentation
https://developers.vtex.com/docs/guides/managing-vtex-gift-cards
📖
Documentation
https://developers.vtex.com/docs/guides/gift-card-integration-guide
📖
Documentation
https://developers.vtex.com/docs/guides/faststore/headless-cms-overview
📖
Documentation
https://developers.vtex.com/docs/api-reference/vtex-id-api
📖
Documentation
https://help.vtex.com/en/tracks/vtex-intelligent-search--19wrbB7nEQcmwzDPl1l4Cb/3qgT47zY08biLP3d5os3DG
📖
Documentation
https://developers.vtex.com/docs/apps/vtex.search@1.0.8
📖
Documentation
https://help.vtex.com/en/tracks/cms--2YcpgIljVaLVQYMzxQbc3z/1oN446gRGcR2s70RvBCAmj
📖
Documentation
https://developers.vtex.com/docs/guides/search-overview
📖
Documentation
https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3
📖
Documentation
https://developers.vtex.com/docs/guides/fulfillment
📖
Documentation
https://developers.vtex.com/docs/guides/marketplace-overview
📖
Documentation
https://developers.vtex.com/updates/release-notes/marketplace-protocol-documentation-update
📖
Documentation
https://developers.vtex.com/docs/guides/external-marketplace-integration-guide
📖
Documentation
https://developers.vtex.com/docs/guides/external-seller-integration-connector
📖
Documentation
https://developers.vtex.com/docs/guides/external-seller-integration-guide
📖
Documentation
https://help.vtex.com/en/tutorial/master-data--4otjBnR27u4WUIciQsmkAw
📖
Documentation
https://help.vtex.com/en/tutorial/understanding-the-message-center--tutorials_84
📖
Documentation
https://developers.vtex.com/docs/guides/orders-overview
📖
Documentation
https://developers.vtex.com/docs/guides/changes-in-vtex-features-behavior-to-handle-pii-data
📖
Documentation
https://help.vtex.com/en/tutorial/payment-provider-protocol--RdsT2spdq80MMwwOeEq0m
📖
Documentation
https://developers.vtex.com/docs/guides/payments-integration-guide
📖
Documentation
https://help.vtex.com/en/tutorial/vtex-pick-and-pack-last-mile--HN7WKV0xoq2ssVjsJlfzr
📖
Documentation
https://developers.vtex.com/docs/guides/vtex-io-documentation-policies
📖
Documentation
https://developers.vtex.com/docs/guides/pricing-hub
📖
Documentation
https://developers.vtex.com/docs/guides/pricing-overview
📖
Documentation
https://developers.vtex.com/docs/guides/profile-system
📖
Documentation
https://developers.vtex.com/docs/guides/promotions-overview
📖
Documentation
https://developers.vtex.com/docs/apps/vtex.reviews-and-ratings
📖
Documentation
https://developers.vtex.com/docs/guides/sent-offers-integration-guide-connectors
📖
Documentation
https://developers.vtex.com/docs/guides/sessions-system-overview
📖
Documentation
https://developers.vtex.com/docs/guides/vtex-shipping-network
📖
Documentation
https://help.vtex.com/en/tutorial/sku-bindings--1SmrVgNwjJX17hdqwLa0TX
📖
Documentation
https://developers.vtex.com/docs/guides/subscriptions
📖
Documentation
https://developers.vtex.com/docs/apps/vtex.search/suggestions
📖
Documentation
https://developers.vtex.com/docs/guides/vtex-tracking

Specifications

OpenAPI Specification

vtex-category-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: VTex Anti-fraud Provider Account Category API
  description: ">ℹ️ Onboarding guide\r\n>\r\n> Check the new [Payments onboarding guide](https://developers.vtex.com/docs/guides/payments-overview). We created this guide to improve the onboarding experience for developers at VTEX. It assembles all documentation on our Developer Portal about Payments and is organized by focusing on the developer's journey.\r\n\r\nThe Anti-fraud Provider Protocol is a set of definitions to help you integrate your anti-fraud service API into VTEX platform.\r\n\r\nTo achieve this, you need to implement a web API (REST) following the specifications described in this documentation.\r\n\r\n>⚠️ You can also access our [template on GitHub](https://github.com/vtex-apps/antifraud-provider-example) to help you quickly develop your anti-fraud connector using the Anti-fraud Provider Protocol and VTEX IO.\r\n\r\nTo learn more about the Anti-fraud Provider Protocol, check our [developer guide](https://developers.vtex.com/docs/guides/how-the-integration-protocol-between-vtex-and-antifraud-companies-works).\r\n\r\n## Anti-fraud Provider API Index\r\n\r\n### Anti-fraud  Flow\r\n\r\n- `POST` [Send Anti-fraud Pre-Analysis Data (optional)](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#post-/pre-analysis)\r\n- `POST` [Send Anti-fraud Data](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#post-/transactions)\r\n- `PUT` [Update Anti-fraud Transactions (optional)](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#put-/transactions/-transactionId-)\r\n- `GET` [List Anti-fraud Provider Manifest](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#get-/manifest)\r\n- `GET` [Get Anti-fraud Status](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#get-/transactions/-transactions.id-)\r\n- `DELETE` [Stop Anti-fraud Analysis (optional)](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#delete-/transactions/-transactions.Id-)\r\n\r\n### OAuth Flow\r\n\r\n1. `POST` [Retrieve Token](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#post-/authorization/token)\r\n2. `GET` [Redirect](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#get-/redirect)\r\n3. `GET` [Return to VTEX](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#get-/authorizationCode)\r\n4. `GET` [Get Credentials](https://developers.vtex.com/docs/api-reference/antifraud-provider-protocol#get-/authorization/credentials)"
  version: '1.0'
servers:
- url: https://{providerApiEndpoint}
  description: Anti-fraud provider endpoint URL.
  variables:
    providerApiEndpoint:
      description: Anti-fraud provider endpoint URL.
      default: '{providerApiEndpoint}'
tags:
- name: Category
paths:
  /api/catalog-seller-portal/category-tree:
    get:
      tags:
      - Category
      summary: VTex Get Category Tree
      description: " >\U0001F4D8 This API is part of the [Seller Portal Catalog](https://help.vtex.com/en/tutorial/how-the-seller-portal-catalog-works--7pMB6YOt6YQDQQbzFB4Pxp). This functionality is in the Beta stage and can be discontinued at any moment at VTEX's discretion. VTEX will not be responsible for any instabilities caused by its use or discontinuity. If you have any questions, please contact [our Support Center](https://support.vtex.com/hc/en-us/requests). \r\n\r\n Retrieves general information about the category tree from the store.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n| **Product** | **Category** | **Resource** |\r\n| --------------- | ----------------- | ----------------- |\r\n| CatalogV2 | Management | **Category Read** |\r\n\r\nThere are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint.To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).\r\n\r\n>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations."
      operationId: GetCategoryTree
      parameters:
      - $ref: '#/components/parameters/Content-Type'
      - $ref: '#/components/parameters/Accept'
      - name: depth
        in: query
        description: Category tree level.
        required: false
        schema:
          type: integer
          example: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                roots:
                - value:
                    id: '2'
                    name: Departamento Artesanato
                    isActive: true
                  children:
                  - value:
                      id: '3'
                      name: Artesanato de Barro
                      isActive: false
                    children:
                    - value:
                        id: '4'
                        name: Artesanato de Barro Vermelho
                        isActive: false
                      children: []
                - value:
                    id: '5'
                    name: Perfumes
                    isActive: false
                  children:
                  - value:
                      id: '6'
                      name: Perfume Feminino
                      isActive: false
                    children: []
                  - value:
                      id: '7'
                      name: Perfume Masculino
                      isActive: false
                      displayOnMenu: false
                      score: 0
                      filterByBrand: false
                      isClickable: false
                    children: []
                createdAt: '2021-08-16T20:57:13.070813Z'
                updatedAt: '2022-07-07T14:24:56.416337Z'
              schema:
                type: object
                required:
                - roots
                properties:
                  roots:
                    type: array
                    description: List of all categories of the store.
                    items:
                      type: object
                      description: Category information.
                      required:
                      - value
                      - children
                      properties:
                        value:
                          type: object
                          description: Object with values of a category.
                          required:
                          - id
                          - name
                          - isActive
                          properties:
                            id:
                              type: string
                              description: Category unique identifier number.
                            name:
                              type: string
                              description: Category name.
                            isActive:
                              type: boolean
                              description: The condition defines if the category is active (`true`) or inactive (`false`).
                        children:
                          type: array
                          description: List of all children categories of the parent category.
                          items:
                            type: object
                            description: Child category information.
                            required:
                            - value
                            properties:
                              value:
                                type: object
                                description: Object with values of a child category.
                                example:
                                  id: '2'
                                  name: Perfumes
                                  isActive: false
                                required:
                                - id
                                - name
                                - isActive
                                properties:
                                  id:
                                    type: string
                                    description: Child category unique identifier number.
                                  name:
                                    type: string
                                    description: Child category name.
                                  isActive:
                                    type: boolean
                                    description: The condition defines if the child category is active (`true`) or inactive (`false`).
                  createdAt:
                    type: string
                    description: Date when the category tree was created.
                  updatedAt:
                    type: string
                    description: Last date when the category tree was updated.
    put:
      tags:
      - Category
      summary: VTex Update Category Tree
      description: " >\U0001F4D8 This API is part of the [Seller Portal Catalog](https://help.vtex.com/en/tutorial/how-the-seller-portal-catalog-works--7pMB6YOt6YQDQQbzFB4Pxp). This functionality is in the Beta stage and can be discontinued at any moment at VTEX's discretion. VTEX will not be responsible for any instabilities caused by its use or discontinuity. If you have any questions, please contact [our Support Center](https://support.vtex.com/hc/en-us/requests). \r\n\r\n Updates the existing categories in the category tree.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n| **Product** | **Category** | **Resource** |\r\n| --------------- | ----------------- | ----------------- |\r\n| CatalogV2 | Management | **Category Write** |\r\n\r\nThere are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint.To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).\r\n\r\n>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations."
      operationId: UpdateCategoryTree
      parameters:
      - $ref: '#/components/parameters/Content-Type'
      - $ref: '#/components/parameters/Accept'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - roots
              properties:
                roots:
                  type: array
                  description: List of all categories of the store.
                  example:
                  - value:
                      id: '1'
                      name: sandboxintegracao
                      isActive: false
                    children:
                    - value:
                        id: '2'
                        name: Perfumes
                        isActive: false
                  items:
                    type: object
                    description: Category information.
                    required:
                    - value
                    - children
                    properties:
                      value:
                        type: object
                        description: Object with values of a category.
                        example:
                          id: '1'
                          name: sandboxintegracao
                          isActive: false
                        required:
                        - id
                        - name
                        - isActive
                        properties:
                          id:
                            type: string
                            description: Category unique identifier number.
                            example: '1'
                          name:
                            type: string
                            description: Category name.
                            example: sandboxintegracao
                          isActive:
                            type: boolean
                            description: The condition defines if the category is active (`true`) or inactive (`false`).
                            example: false
                      children:
                        type: array
                        description: List of all children categories of the parent category.
                        example:
                        - value:
                            id: '2'
                            name: Perfumes
                            isActive: false
                        items:
                          type: object
                          description: Child category information.
                          example:
                            value:
                              id: '2'
                              name: Perfumes
                              isActive: false
                          required:
                          - value
                          properties:
                            value:
                              type: object
                              description: Object with values of a child category.
                              example:
                                id: '2'
                                name: Perfumes
                                isActive: false
                              required:
                              - id
                              - name
                              - isActive
                              properties:
                                id:
                                  type: string
                                  description: Child category unique identifier number.
                                name:
                                  type: string
                                  description: Child category name.
                                  example: Perfumes
                                isActive:
                                  type: boolean
                                  description: The condition defines if the child category is active (`true`) or inactive (`false`).
                                  example: false
        required: true
      responses:
        '204':
          description: No Content
      deprecated: false
  /api/catalog-seller-portal/category-tree/categories/{categoryId}:
    get:
      tags:
      - Category
      summary: VTex Get Category by ID
      description: " >\U0001F4D8 This API is part of the [Seller Portal Catalog](https://help.vtex.com/en/tutorial/how-the-seller-portal-catalog-works--7pMB6YOt6YQDQQbzFB4Pxp). This functionality is in the Beta stage and can be discontinued at any moment at VTEX's discretion. VTEX will not be responsible for any instabilities caused by its use or discontinuity. If you have any questions, please contact [our Support Center](https://support.vtex.com/hc/en-us/requests). \r\n\r\n Retrieves general information about a category by its ID.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n| **Product** | **Category** | **Resource** |\r\n| --------------- | ----------------- | ----------------- |\r\n| CatalogV2 | Management | **Category Read** |\r\n\r\nThere are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint.To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).\r\n\r\n>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations."
      operationId: Getbyid
      parameters:
      - $ref: '#/components/parameters/Content-Type'
      - $ref: '#/components/parameters/Accept'
      - name: categoryId
        in: path
        required: true
        description: Category unique identifier number.
        schema:
          type: string
          example: '1'
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                value:
                  id: '1'
                  name: sandboxintegracao
                  isActive: false
                children:
                - value:
                    id: '2'
                    name: Perfumes
                    isActive: false
              schema:
                type: object
                required:
                - value
                - children
                properties:
                  value:
                    type: object
                    description: Object with values of a category.
                    required:
                    - id
                    - name
                    - isActive
                    properties:
                      id:
                        type: string
                        description: Category unique identifier number.
                      name:
                        type: string
                        description: Category name.
                      isActive:
                        type: boolean
                        description: The condition defines if the category is active (`true`) or inactive (`false`).
                  children:
                    type: array
                    description: List of all children categories of the parent category.
                    items:
                      type: object
                      required:
                      - value
                      properties:
                        value:
                          type: object
                          description: Object with values of a child category.
                          required:
                          - id
                          - name
                          - isActive
                          properties:
                            id:
                              type: string
                              description: Child category unique identifier number.
                            name:
                              type: string
                              description: Child category name.
                            isActive:
                              type: boolean
                              description: The condition defines if the child category is active (`true`) or inactive (`false`).
  /api/catalog-seller-portal/category-tree/categories:
    post:
      tags:
      - Category
      summary: VTex Create Category
      description: " >\U0001F4D8 This API is part of the [Seller Portal Catalog](https://help.vtex.com/en/tutorial/how-the-seller-portal-catalog-works--7pMB6YOt6YQDQQbzFB4Pxp). This functionality is in the Beta stage and can be discontinued at any moment at VTEX's discretion. VTEX will not be responsible for any instabilities caused by its use or discontinuity. If you have any questions, please contact [our Support Center](https://support.vtex.com/hc/en-us/requests). \r\n\r\n Creates a new category.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n| **Product** | **Category** | **Resource** |\r\n| --------------- | ----------------- | ----------------- |\r\n| CatalogV2 | Management | **Category Write** |\r\n\r\nThere are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint.To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).\r\n\r\n>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations."
      operationId: CreateCategory
      parameters:
      - $ref: '#/components/parameters/Content-Type'
      - $ref: '#/components/parameters/Accept'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - parentId
              - Name
              properties:
                parentId:
                  type: string
                  description: Parent category unique identifier number.
                  example: '567'
                Name:
                  type: string
                  description: Category name.
                  example: Beauty
            example:
              parentId: '567'
              Name: Beauty
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                value:
                  id: '1'
                  name: Beauty
                  isActive: false
                children:
                - value:
                    id: '2'
                    name: Perfumes
                    isActive: false
              schema:
                type: object
                required:
                - value
                - children
                properties:
                  value:
                    type: object
                    description: Object with values of a category.
                    required:
                    - id
                    - name
                    - isActive
                    properties:
                      id:
                        type: string
                        description: Category unique identifier number.
                      name:
                        type: string
                        description: Category name.
                      isActive:
                        type: boolean
                        description: The condition defines if the category is active (`true`) or inactive (`false`).
                  children:
                    type: array
                    description: List of all children categories of the parent category.
                    items:
                      type: object
                      description: Category information.
                      required:
                      - value
                      properties:
                        value:
                          type: object
                          description: Object with values of a child category.
                          required:
                          - id
                          - name
                          - isActive
                          properties:
                            id:
                              type: string
                              description: Child category unique identifier number.
                            name:
                              type: string
                              description: Child category name.
                              example: Perfumes
                            isActive:
                              type: boolean
                              description: The condition defines if the child category is active (`true`) or inactive (`false`).
                              example: false
      deprecated: false
  /api/catalog_system/pub/category/tree/{categoryLevels}:
    get:
      tags:
      - Category
      summary: VTex Get category tree
      description: "Retrieves the category tree of your store. Get all the category levels registered in the Catalog or define the level up to which you want to get.  \r\n> \U0001F4D8 Onboarding guide \r\n>\r\n> Check the new [Catalog onboarding guide](https://developers.vtex.com/vtex-rest-api/docs/catalog-overview). We created this guide to improve the onboarding experience for developers at VTEX. It assembles all documentation on our Developer Portal about Catalog and is organized by focusing on the developer's journey.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n| **Product** | **Category** | **Resource** |\r\n| --------------- | ----------------- | ----------------- |\r\n| Catalog | Content | **Category** |\r\n\r\nThere are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).\r\n\r\n>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations."
      operationId: CategoryTree
      parameters:
      - $ref: '#/components/parameters/Content-Type_2'
      - $ref: '#/components/parameters/Accept_2'
      - name: categoryLevels
        in: path
        required: true
        description: Value of the category level you need to retrieve.
        schema:
          type: string
          example: '1'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GetCategoryTree'
              example:
              - id: 1
                name: Alimentação
                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ção Seca
                  hasChildren: false
                  url: https://lojadobreno.vtexcommercestable.com.br/alimentacao/racao-seca
                  children: []
                  Title: Ração Seca para Gatos
                  MetaTagDescription: ''
                - id: 11
                  name: Ração Úmida
                  hasChildren: false
                  url: https://lojadobreno.vtexcommercestable.com.br/alimentacao/racao-umida
                  children: []
                  Title: Ração Úmida para Gatos
                  MetaTagDescription: ''
                Title: Alimentação para Gatos
                MetaTagDescription: ''
              - id: 2
                name: Brinquedos
                hasChildren: true
                url: https://lojadobreno.vtexcommercestable.com.br/brinquedos
                children:
                - id: 12
                  name: Bolinhas
                  hasChildren: false
                  url: https://lojadobreno.vtexcommercestable.com.br/brinquedos/bolinhas
                  children: []
                  Title: Bolinhas para Gatos
                  MetaTagDescription: ''
                - id: 13
                  name: Ratinhos
                  hasChildren: false
                  url: https://lojadobreno.vtexcommercestable.com.br/brinquedos/ratinhos
                  children: []
                  Title: Ratinhos
                  MetaTagDescription: ''
                - id: 19
                  name: Arranhador para gato
                  hasChildren: false
                  url: https://lojadobreno.vtexcommercestable.com.br/brinquedos/arranhador-para-gato
                  children: []
                  Title: Brinquedo Arranhador para gatos
                  MetaTagDescription: Arranhador gatos é indispensável no lar com felinos. Ideais para afiar as unhas e garantir a diversão
                Title: Brinquedos para Gatos
                MetaTagDescription: ''
      deprecated: false
  /api/catalog/pvt/category/{categoryId}:
    get:
      tags:
      - Category
      summary: VTex Get category by ID
      description: "Retrieves general information about a category.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they wi

# --- truncated at 32 KB (55 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/vtex/refs/heads/main/openapi/vtex-category-api-openapi.yml