Category — Create
Creates a new category. Equivalent to POST /api/admin/catalog/categories.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminCategory | Mutation | Create a new category |
Input
Same fields as the REST endpoint — slug, name, description, position, attributes, parent_id, display_mode, status, locale, and optional SEO fields. See the REST page for the full field table and validation rules.
Notes
- File upload not supported in v1 —
logo_path/banner_pathcannot be set via this mutation. - Follow up with the
adminCategoryquery to load the refreshed detail.

