AlmondTill/G3N API

EditPurchasePackInput

input type

Edit-input for a PurchasePack. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic). unitsPerPack is NOT editable (IMMUTABLE at birth, lean 2 — the pack essence; a different count = doom + create), nor is the parent Variant ref (the header). A supplied code re-runs the sibling dup-gate; every edit re-gates the parent Variant ACTIVE (the OVI parent-enablement stance); the dims trio comes all-or-none.

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
codeStringnoThe replacement label — re-runs the sibling dup-gate (naming a LIVE holder refuses).
packGtinStringnoNo further notes.
nominalWeightKgStringnoNo further notes.
lengthCmStringnoNo further notes.
widthCmStringnoNo further notes.
heightCmStringnoNo further notes.

Used by