Skip to main content

UpdateProductInput

Autogenerated input type of UpdateProduct

input UpdateProductInput {
brandId: ID
bulletPoints: [String!]
categoryId: ID
clientMutationId: String
colorId: ID
compositionType: CompositionTypeEnum
currencyCode: CurrencyCodeEnum
customsInput: ProductCustomsInput
description: String
height: Decimal
images: [ProductImageInput!]
innerPack: Boolean
innerPackInput: ProductInnerPackInput
length: Decimal
masterCarton: Boolean
masterCartonInput: ProductMasterCartonInput
name: String
packagingUrl: Url
pallet: Boolean
palletInput: ProductPalletInput
parentId: ID
partNumber: String
price: Decimal @deprecated
priceMap: BigDecimal
priceMsrp: BigDecimal
productEconomics: ProductEconomicsInput
productId: ID!
productTags: [ProductUpdateTagInput!]
productType: ProductTypeEnum
purchasingInput: ProductPurchasingInput @deprecated
restockThreshold: Int
ship: Boolean
shippingInput: ProductShippingInput
sizeId: ID
sku: String
sourcingMethod: ProductSourcingMethodEnum
specsUrl: Url
status: ProductStatusEnum
styleId: ID
uom: ProductUomEnum
upc: String
weight: Decimal
width: Decimal
}

Fields

UpdateProductInput.brandId ● ID scalar

The ID of the brand to which this product belongs. If not provided, the current brand will be used.

UpdateProductInput.bulletPoints ● [String!] list scalar

The bullet points for this product. Bullet points are used to describe the product on the website.

UpdateProductInput.categoryId ● ID scalar

UpdateProductInput.clientMutationId ● String scalar

A unique identifier for the client performing the mutation.

UpdateProductInput.colorId ● ID scalar

UpdateProductInput.compositionType ● CompositionTypeEnum enum

Indicates the grouping nature for this composed product

UpdateProductInput.currencyCode ● CurrencyCodeEnum enum

UpdateProductInput.customsInput ● ProductCustomsInput input

UpdateProductInput.description ● String scalar

UpdateProductInput.height ● Decimal scalar

UpdateProductInput.images ● [ProductImageInput!] list input

UpdateProductInput.innerPack ● Boolean scalar

Whether this product has an inner pack. If true, the inner pack data must be provided.

UpdateProductInput.innerPackInput ● ProductInnerPackInput input

UpdateProductInput.length ● Decimal scalar

UpdateProductInput.masterCarton ● Boolean scalar

Whether this product has a master carton. If true, the master carton data must be provided.

UpdateProductInput.masterCartonInput ● ProductMasterCartonInput input

UpdateProductInput.name ● String scalar

UpdateProductInput.packagingUrl ● Url scalar

UpdateProductInput.pallet ● Boolean scalar

Whether this product has a pallet. If true, the pallet data must be provided.

UpdateProductInput.palletInput ● ProductPalletInput input

UpdateProductInput.parentId ● ID scalar

The ID of the parent product. If provided, this product will be a variant of the parent product.

UpdateProductInput.partNumber ● String scalar

UpdateProductInput.price ● Decimal deprecated scalar

DEPRECATED

Will be removed in the future. Use the argument priceMsrp instead.

UpdateProductInput.priceMap ● BigDecimal scalar

UpdateProductInput.priceMsrp ● BigDecimal scalar

UpdateProductInput.productEconomics ● ProductEconomicsInput input

UpdateProductInput.productId ● ID! non-null scalar

UpdateProductInput.productTags ● [ProductUpdateTagInput!] list input

UpdateProductInput.productType ● ProductTypeEnum enum

The type of product. If not provided, defaults to 'BASE_ITEM'.

UpdateProductInput.purchasingInput ● ProductPurchasingInput deprecated input

DEPRECATED

Will be removed in the future. Use the productEconomics argument instead.

UpdateProductInput.restockThreshold ● Int scalar

UpdateProductInput.ship ● Boolean scalar

Whether this product is shippable. If false, the product will not be available for purchase.

UpdateProductInput.shippingInput ● ProductShippingInput input

UpdateProductInput.sizeId ● ID scalar

UpdateProductInput.sku ● String scalar

UpdateProductInput.sourcingMethod ● ProductSourcingMethodEnum enum

UpdateProductInput.specsUrl ● Url scalar

UpdateProductInput.status ● ProductStatusEnum enum

UpdateProductInput.styleId ● ID scalar

UpdateProductInput.uom ● ProductUomEnum enum

UpdateProductInput.upc ● String scalar

UpdateProductInput.weight ● Decimal scalar

UpdateProductInput.width ● Decimal scalar

Member Of

updateProduct mutation