Skip to main content

SupplierVariantExternalUpdateInput

The necessary fields in order to update an existing supplierVariant using an externalVariantId

input SupplierVariantExternalUpdateInput {
contentItemIds: [ID]
externalVariantId: String!
inventoryPolicy: SupplierVariantInventoryPolicy
inventoryQuantity: Int
optionValues: [String!]
supplierId: ID!
}

Fields

SupplierVariantExternalUpdateInput.contentItemIds ● [ID] list scalar

Associates contentItems with this variant

SupplierVariantExternalUpdateInput.externalVariantId ● String! non-null scalar

SupplierVariantExternalUpdateInput.inventoryPolicy ● SupplierVariantInventoryPolicy enum

SupplierVariantExternalUpdateInput.inventoryQuantity ● Int scalar

SupplierVariantExternalUpdateInput.optionValues ● [String!] list scalar

An array of the option values that make up this variant. For example, a product with a color and size option would have two option values, one for each of the color and size options, i.e. ["Red", "Small"] Must have 1-3, and it should match the number of options in the product, but there is no validation to do so. Set this to "No Option" if you don't want to use options for this product and this is the only variant. See https://docs.buildresonance.com/concepts/products/#no-option-products for more info.

SupplierVariantExternalUpdateInput.supplierId ● ID! non-null scalar

Member of

updateSupplierVariant mutation ● updateSupplierVariants mutation