Skip to main content

AddProductInput

Autogenerated input type of AddProduct

input AddProductInput {
brandId: ID!
bulletPoints: [String!]
categoryId: ID @deprecated
clientMutationId: String
colorId: ID @deprecated
compositionLines: [CompositionLineInput!]
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
productAttributes: [ProductAttributeInput!]
productEconomics: ProductEconomicsInput
productTags: [ProductTagInput!]
productType: ProductTypeEnum
purchasingInput: ProductPurchasingInput @deprecated
restockThreshold: Int
ship: Boolean
shippingInput: ProductShippingInput
sizeId: ID @deprecated
sku: String!
sourcingMethod: ProductSourcingMethodEnum
specsUrl: Url
status: ProductStatusEnum @deprecated
styleId: ID @deprecated
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 deprecated scalar

DEPRECATED

Use productAttributes instead. This argument will be removed in the future.

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 deprecated scalar

DEPRECATED

Use productAttributes instead. This argument will be removed in the future.

AddProductInput.compositionLines ● [CompositionLineInput!] list input

Composition lines to add inline. Each line defines a component product and quantity.

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.productAttributes ● [ProductAttributeInput!] list input

Product attributes to set. Each attribute is identified by its handle or definition ID.

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 deprecated scalar

DEPRECATED

Use productAttributes instead. This argument will be removed in the future.

AddProductInput.sku ● String! non-null scalar

AddProductInput.sourcingMethod ● ProductSourcingMethodEnum enum

AddProductInput.specsUrl ● Url scalar

AddProductInput.status ● ProductStatusEnum deprecated enum

DEPRECATED

This argument will be removed in the future. Use archive/unarchive mutations to change product status.

AddProductInput.styleId ● ID deprecated scalar

DEPRECATED

Use productAttributes instead. This argument will be removed in the future.

AddProductInput.uom ● ProductUomEnum enum

AddProductInput.upc ● String scalar

AddProductInput.weight ● Decimal scalar

AddProductInput.width ● Decimal scalar

Member Of

addProduct mutation