AlmondTill/G3N API

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

OperationKindWhat it does
createVariantmutationCreate a new variant — the exact sellable thing (the barcode level) at your organization.
deactivateVariantmutationDeactivate a variant — the exact sellable thing (the barcode level) — it stops being usable but keeps its history and can be reactivated.
doomVariantmutationPermanently retire a variant — the exact sellable thing (the barcode level).
reactivateVariantmutationReactivate a variant — the exact sellable thing (the barcode level) — bring a deactivated record back into use.
updateVariantmutationEdit a variant — the exact sellable thing (the barcode level) — change its details.
variantqueryLook up one record — a variant — the exact sellable thing (the barcode level).
variantsqueryThe variant list — each entry is a variant — the exact sellable thing (the barcode level).