NewPurchasePackInput
input type
Create-input for a PurchasePack.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the pack code; when supplied it must be non-blank. |
variantId | ID ID! | yes | The variant this pack packages. |
code | String String! | yes | |
unitsPerPack | String String! | yes | Stock units per pack (strictly positive decimal) — immutable after birth. |
packGtin | String | no | |
nominalWeightKg | String | no | |
lengthCm | String | no | |
widthCm | String | no | |
heightCm | String | no |