SupplierProductCreateInput
The necessary fields to create a new SupplierProduct. status will be initially set to DRAFT
input SupplierProductCreateInput {
externalProductId: String!
optionLabels: [String!]!
supplierId: ID!
tags: [String!]
title: String!
vendor: String!
}
Fields
SupplierProductCreateInput.externalProductId
● String!
non-null scalar
Passed along in PurchaseOrders so the Supplier can identify items in their warehouse.
SupplierProductCreateInput.optionLabels
● [String!]!
non-null scalar
The labels for the options of this product, i.e. ["Color", "Size"] These will match with the order of the optionValues on the SupplierVariants. Must have 1-3, and it should match the number of options in the variants, but there is no validation to do so. Set the first optionLabel to "No Option" if you don't want to use options for this product. See https://docs.buildresonance.com/concepts/products/#no-option-products for more info.
SupplierProductCreateInput.supplierId
● ID!
non-null scalar
Reference to the Supplier that owns this product.
SupplierProductCreateInput.tags
● [String!]
list scalar
SupplierProductCreateInput.title
● String!
non-null scalar
The title of the product.
SupplierProductCreateInput.vendor
● String!
non-null scalar
The brand or manufacturer of the product.
Member of
createSupplierProduct
mutation ● SupplierProductCompositeCreateInput
input