AlmondTill/G3N API

EditOrgVendorItemInput

input type

Edit-input for a OrgVendorItem. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved. variantId is NOT editable (immutable junction identity — re-point = doom + create; the uniqueness marker never swaps), nor is the parent OrgVendor ref (the header). The commercial payload is editable; a supplied listCost re-gates against the parent purchasingCurrency; a supplied purchasePackId re-gates (tenant + active + variant-coherence) AND requires stored listCost/moq re-supplied in the same payload.

Fields

FieldTypeRequiredNotes
captionStringno
vendorPartNumberStringno
listCostMoneyEntryInputnoThe replacement list cost (currency must match the parent purchasingCurrency; per pack when the junction is pack-denominated).
moqIntno
leadTimeDaysIntno
purchasePackIdIDnoThe replacement pack denomination — re-gated; stored listCost/moq must ride the same payload (the flip coupling).

Used by