Actions25
- Product Actions
- Category Actions
- Customer Actions
- Order Actions
- Inventory Actions
- Store Actions
Category → Get
AI-generatedSummary
Retrieve a category by its ID from the Magento REST API.
Inputs
- categoryId (required) — Category ID
- websiteCode — Store view code for multi-store Magento instances (used in URL like /rest/{code}/V1/...). Options are loaded from your Magento store, but you can enter any custom store view code.
- simplifyOutput — When enabled, flattens the response structure. Converts custom_attributes array to an object, flattens extension_attributes, and simplifies nested structures.
Output shape
The category resource returned by the Magento REST API. When simplifyOutput is true, custom_attributes are converted to an object named attributes and extension_attributes are flattened into top-level keys with an extension_ prefix.
Returned as the 'json' property of the node's output data item.
Examples
Example 1: Get category ID 5 with default store view and simplified output.
categoryId=5, simplifyOutput=true, websiteCode='' (default)