Skip to main content

SupplierProductUpdateInput

The necessary and optional fields to update an existing SupplierProduct. If status is set to Publish, additional validation will be performed.

input SupplierProductUpdateInput {
externalProductId: String
optionLabels: [String!]
status: SupplyEntityStatus
supplierProductId: ID!
tags: [String!]
title: String
vendor: String
}

Fields

SupplierProductUpdateInput.externalProductId ● String scalar

Passed along in PurchaseOrders so the Supplier can identify items in their warehouse.

SupplierProductUpdateInput.optionLabels ● [String!] list 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.

SupplierProductUpdateInput.status ● SupplyEntityStatus enum

Indicates whether a product is live and able to be ordered.

SupplierProductUpdateInput.supplierProductId ● ID! non-null scalar

SupplierProductUpdateInput.tags ● [String!] list scalar

SupplierProductUpdateInput.title ● String scalar

The title of the product.

SupplierProductUpdateInput.vendor ● String scalar

The brand or manufacturer of the product.

Member of

updateSupplierProduct mutation ● updateSupplierProducts mutation