CreateProductInput
GraphQL input to create a product. Currency is taken from the vendor.
Fields
ageRestrictedBooleanavailableQtyIntbarcodeStringcapacityStringdeliverableBooleandescriptionStringdigitalBooleandiscountPriceDecimalfeaturedBooleanimageUrls[String!]!RequiredDefaults:isActiveBooleanlocationIdInt!RequirednameString!RequiredpackageCountStringplusOptionBooleanpriceDecimal!RequiredskuStringunitString
Whether buyers must pass an age check. Defaults to false.
Opening stock for locationId. Omit to leave the branch unstocked.
Packaged size as free text, e.g. 500 alongside a unit of ml.
Whether the product can be delivered. Defaults to true.
Whether the product is digital and needs no physical fulfilment. Defaults to false.
Sale price in major units. Defaults to 0, meaning no discount.
Whether to surface the product in featured placements. Defaults to false.
Whether the product is orderable. Defaults to true.
Whether the product is restricted to Plus members. Defaults to false.
List price in major units of the vendor's currency, e.g. 12.50. Excludes tax.
Unit capacity is expressed in, e.g. g, ml, piece.