Actions13
Category → Get
AI-generatedSummary
Retrieve a category by its ID.
Inputs
- categoryId (required) — The ID of the category to retrieve.
Output shape
a single category object
Returns the full category payload from the VTEX Catalog API.
Examples
Example 1: Get details of category with ID 5
resource=category, operation=get, categoryId=5
Example 2: Fetch category tree for ID 2 with 2 levels
resource=category, operation=getTree, categoryId=2, levels=2