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. unitsPerPack is NOT editable, 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
captionStringno
codeStringnoThe replacement label — re-runs the sibling dup-gate (naming a live holder refuses).
packGtinStringno
nominalWeightKgStringno
lengthCmStringno
widthCmStringno
heightCmStringno

Used by