category_create
Create a new product category, optionally as a sub-category by specifying parent_id. Requires site and name; slug auto-generated if omitted.
Instructions
Create a category (POST /admin/api/ecommerce/v1/categories). Envelope: {category: {...}}. Required: name. Optional: slug (auto-generated if omitted), parent_id (for sub-categories). NOTE: Voog does not support description / image_id on categories despite some doc pages suggesting otherwise — verified empirically 2026-05-27.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| name | Yes | ||
| slug | No | ||
| parent_id | No |