AlmondTill/G3N API

NewItemInput

input type

Create-input for createItem. The style-level fields sit at the top (the item IS its style to a general-merch merchant); styleType is forced simple and the scheme forced zero-dimension — NOT inputs.

Fields

FieldTypeRequiredNotes
captionStringnoOptional style caption: default = the merchant code when given, else 'Style'.
codeStringno
brandIdIDno
seasonIdsID [ID!]no
categoryPlacementsStylePlacementEntryInput [StylePlacementEntryInput!]noCategory-placement input — the target must be an in-tenant, active, leaf Category.
tagIdsID [ID!]no
characteristicEntriesStyleCharacteristicEntryInput [StyleCharacteristicEntryInput!]noCharacteristic-value input — the target must be in-tenant + active; the value must fit its valueType/grammar.
productItemProductInput ItemProductInput!yesThe nested Product block of createItem — the whole-style pricing carrier.
variantItemVariantInput ItemVariantInput!yesThe nested Variant block of createItem — the single zero-dimension cell (the coordinate is forced empty; the stock-UoM pair defaults (canned, each) and is immutable).

Used by