AlmondTill/G3N API

EditProductInput

input type

Edit-input for a Product. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved. The parent-style ref is NOT editable (the header — recreate instead). A supplied segment replaces wholesale and may not orphan: every existing non-doomed variant coordinate must remain inside the new segment. A supplied rrp replaces wholesale but must keep at least 1 entry and — under live OrgStyle selections — must still cover every selecting org defaultCurrency; msrp/tagIds replace wholesale.

Fields

FieldTypeRequiredNotes
captionStringno
codeStringno
segmentProductSegmentEntryInput [ProductSegmentEntryInput!]noThe replacement segment (wholesale) — no-orphan-gated against existing variants.
rrpMoneyEntryInput [MoneyEntryInput!]noThe replacement RRP map (wholesale; at least 1 entry; floor-gated).
msrpMoneyEntryInput [MoneyEntryInput!]noThe replacement MSRP map (wholesale; empty releases).
tagIdsID [ID!]noThe replacement tag set (wholesale; empty releases).

Used by