Variant
The Variant family — 7 operations.
A variant is the sellable cell under a product — the exact combination customers buy. Stock, identifiers and components all hang off variants.
Operations
| Operation | Kind | What it does |
|---|---|---|
| createVariant | mutation | Create a new variant — the exact sellable thing (the barcode level) at your organization. |
| deactivateVariant | mutation | Deactivate a variant — the exact sellable thing (the barcode level) — it stops being usable but keeps its history and can be reactivated. |
| doomVariant | mutation | Permanently retire a variant — the exact sellable thing (the barcode level). |
| reactivateVariant | mutation | Reactivate a variant — the exact sellable thing (the barcode level) — bring a deactivated record back into use. |
| updateVariant | mutation | Edit a variant — the exact sellable thing (the barcode level) — change its details. |
| variant | query | Look up one record — a variant — the exact sellable thing (the barcode level). |
| variants | query | The variant list — each entry is a variant — the exact sellable thing (the barcode level). |