Skip to main content

AddProductInput

Autogenerated input type of AddProduct

input AddProductInput {
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
productTags: [ProductTagInput!]
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

AddProductInput.brandId ● ID! non-null scalar

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

AddProductInput.bulletPoints ● [String!] list scalar

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

AddProductInput.categoryId ● ID scalar

The ID of the category to which this product belongs.

AddProductInput.clientMutationId ● String scalar

A unique identifier for the client performing the mutation.

AddProductInput.colorId ● ID scalar

AddProductInput.compositionType ● CompositionTypeEnum enum

Indicates the grouping nature for this composed product

AddProductInput.currencyCode ● CurrencyCodeEnum enum

AddProductInput.customsInput ● ProductCustomsInput input

AddProductInput.description ● String scalar

AddProductInput.height ● Decimal scalar

AddProductInput.images ● [ProductImageInput!] list input

AddProductInput.innerPack ● Boolean scalar

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

AddProductInput.innerPackInput ● ProductInnerPackInput input

AddProductInput.length ● Decimal scalar

AddProductInput.masterCarton ● Boolean scalar

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

AddProductInput.masterCartonInput ● ProductMasterCartonInput input

AddProductInput.name ● String! non-null scalar

AddProductInput.packagingUrl ● Url scalar

AddProductInput.pallet ● Boolean scalar

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

AddProductInput.palletInput ● ProductPalletInput input

AddProductInput.parentId ● ID scalar

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

AddProductInput.partNumber ● String scalar

AddProductInput.price ● Decimal deprecated scalar

DEPRECATED

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

AddProductInput.priceMap ● BigDecimal scalar

AddProductInput.priceMsrp ● BigDecimal scalar

AddProductInput.productEconomics ● ProductEconomicsInput input

AddProductInput.productTags ● [ProductTagInput!] list input

AddProductInput.productType ● ProductTypeEnum enum

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

AddProductInput.purchasingInput ● ProductPurchasingInput deprecated input

DEPRECATED

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

AddProductInput.restockThreshold ● Int scalar

AddProductInput.ship ● Boolean scalar

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

AddProductInput.shippingInput ● ProductShippingInput input

AddProductInput.sizeId ● ID scalar

AddProductInput.sku ● String! non-null scalar

AddProductInput.sourcingMethod ● ProductSourcingMethodEnum enum

AddProductInput.specsUrl ● Url scalar

AddProductInput.status ● ProductStatusEnum enum

AddProductInput.styleId ● ID scalar

AddProductInput.uom ● ProductUomEnum enum

AddProductInput.upc ● String scalar

AddProductInput.weight ● Decimal scalar

AddProductInput.width ● Decimal scalar

Member Of

addProduct mutation