Taxonomy
The hanzo taxonomy commands.
Also for this capability: API · CLI · SDKs
The product catalogue's shape: which categories exist, what each product is called, which category it sits in, what it is tagged with, and the order the two are shown in.
hanzo taxonomy getEvery command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.
| Command | What it does |
|---|---|
hanzo taxonomy get | Returns the product catalogue as this caller sees it: the PLATFORM catalogue — Hanzo's own products, the part that is true for everyone — plus the caller's own org's rows, every category in display order and each carrying the products filed under it in theirs. |
Categories
| Command | What it does |
|---|---|
hanzo taxonomy categories rm <id> | Removes one empty category. |
hanzo taxonomy categories set <id> | Creates or replaces one category and returns it as stored. |
Taxa
| Command | What it does |
|---|---|
hanzo taxonomy taxa rm <id> | Removes one product from the catalogue. |
hanzo taxonomy taxa set <id> | Creates or replaces one product and returns it as stored. |
Was this page useful?