AlmondTill/G3N API

NewInventoryItemInput

input type

Create-input for an InventoryItem. The tenant (org group) is derived SERVER-SIDE from the principal; variantId (rides the header) and logicalFacilityId are tenant-scoped server-side and must both be ACTIVE (CONFLICT/REF_STATE else); styleType is birth-stamped from the variant spine; the buckets are born zero x5 and wmaCost absent — quantities move ONLY via the movement ops.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the junction coordinate <variant caption> @ <logical facility caption>; when supplied it must be non-blank.
variantIdID ID!yesThe stock-bearing Variant id.
logicalFacilityIdID ID!yesThe LogicalFacility id (the other junction leg) — immutable after birth.
controlClassStringnoThe control class (non-controlled | lot-controlled | serially-controlled) — defaulted to non-controlled when omitted (STRICT).

Used by