Actions25
- Product Actions
- Category Actions
- Customer Actions
- Order Actions
- Inventory Actions
- Store Actions
Category → Update
AI-generatedSummary
Updates a category in Magento via PUT, sending category data as JSON body wrapped under 'category'.
Inputs
- categoryId (required) — Category ID to update. Number type, required, default 0.
- categoryData (required) — Category data in JSON format. Wrapped as {
Output shape
Magento category resource JSON. When simplifyOutput is enabled, custom_attributes array is converted to an object, extension_attributes are flattened into top-level keys, and nested structures are simplified.
Returned data is the API response, optionally processed by flattenResponse().
Examples
Example 1: Basic category update
categoryId: 5, categoryData: {