Category
The Category family — 7 operations.
Categories form your merchandise tree — the departments and sub-departments your range hangs from. Only leaf categories (ones without children) take product placements, so the tree stays tidy.
Operations
| Operation | Kind | What it does |
|---|---|---|
| categories | query | The category list — each entry is a category — the product tree’s branches. |
| category | query | Look up one record — a category — the product tree’s branches. |
| createCategory | mutation | Create a new category — the product tree’s branches at your organization. |
| deactivateCategory | mutation | Deactivate a category — the product tree’s branches — it stops being usable but keeps its history and can be reactivated. |
| doomCategory | mutation | Permanently retire a category — the product tree’s branches. |
| reactivateCategory | mutation | Reactivate a category — the product tree’s branches — bring a deactivated record back into use. |
| updateCategory | mutation | Edit a category — the product tree’s branches — change its details. |