AlmondTill/G3N API

NewProductInput

input type

Create-input for a Product.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the merchant code when given, else 'Product'; when supplied it must be non-blank.
styleIdID ID!yesThe parent Style id.
segmentProductSegmentEntryInput [ProductSegmentEntryInput!]noThe declared segment (omit or empty = the whole style; unique dimensions; values in-scheme + of-the-group + active).
rrpMoneyEntryInput [MoneyEntryInput!]!yesThe RRP map — required, at least 1 entry.
msrpMoneyEntryInput [MoneyEntryInput!]noThe optional MSRP map.
tagIdsID [ID!]noThe Tag set (at most 64, unique) — each tenant-scoped + active.
codeStringno

Used by