Skip to main content

ProductAddInput

Input type for adding new products

input ProductAddInput {
brandId: ID
bulletPoints: [String!]
categoryId: ID @deprecated
colorId: ID @deprecated
compositionLines: [CompositionLineInput!]
compositionType: CompositionTypeEnum
currencyCode: CurrencyCodeEnum
customsInput: ProductCustomsInput
description: String
height: Decimal
images: [ImageInput!]
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

ProductAddInput.brandId ● ID scalar common

The ID of the brand to which this product belongs.

ProductAddInput.bulletPoints ● [String!] list scalar common

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

ProductAddInput.categoryId ● ID deprecated scalar common

DEPRECATED

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

The ID of the category to which this product belongs.

ProductAddInput.colorId ● ID deprecated scalar common

DEPRECATED

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

ProductAddInput.compositionLines ● [CompositionLineInput!] list input products

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

ProductAddInput.compositionType ● CompositionTypeEnum enum products

Indicates the grouping nature for this composed product

ProductAddInput.currencyCode ● CurrencyCodeEnum enum common

ProductAddInput.customsInput ● ProductCustomsInput input products

ProductAddInput.description ● String scalar common

ProductAddInput.height ● Decimal scalar common

ProductAddInput.images ● [ImageInput!] list input products

ProductAddInput.innerPack ● Boolean scalar common

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

ProductAddInput.innerPackInput ● ProductInnerPackInput input products

ProductAddInput.length ● Decimal scalar common

ProductAddInput.masterCarton ● Boolean scalar common

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

ProductAddInput.masterCartonInput ● ProductMasterCartonInput input products

ProductAddInput.name ● String! non-null scalar common

ProductAddInput.packagingUrl ● Url scalar common

ProductAddInput.pallet ● Boolean scalar common

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

ProductAddInput.palletInput ● ProductPalletInput input products

ProductAddInput.parentId ● ID scalar common

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

ProductAddInput.partNumber ● String scalar common

ProductAddInput.price ● Decimal deprecated scalar common

DEPRECATED

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

ProductAddInput.priceMap ● BigDecimal scalar common

ProductAddInput.priceMsrp ● BigDecimal scalar common

ProductAddInput.productAttributes ● [ProductAttributeInput!] list input products

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

ProductAddInput.productEconomics ● ProductEconomicsInput input products

ProductAddInput.productTags ● [ProductTagInput!] list input products

ProductAddInput.productType ● ProductTypeEnum enum products

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

ProductAddInput.purchasingInput ● ProductPurchasingInput deprecated input products

DEPRECATED

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

ProductAddInput.restockThreshold ● Int scalar common

ProductAddInput.ship ● Boolean scalar common

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

ProductAddInput.shippingInput ● ProductShippingInput input products

ProductAddInput.sizeId ● ID deprecated scalar common

DEPRECATED

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

ProductAddInput.sku ● String! non-null scalar common

ProductAddInput.sourcingMethod ● ProductSourcingMethodEnum enum products

ProductAddInput.specsUrl ● Url scalar common

ProductAddInput.status ● ProductStatusEnum deprecated enum products

DEPRECATED

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

ProductAddInput.styleId ● ID deprecated scalar common

DEPRECATED

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

ProductAddInput.uom ● ProductUomEnum enum products

ProductAddInput.upc ● String scalar common

ProductAddInput.weight ● Decimal scalar common

ProductAddInput.width ● Decimal scalar common

Member Of

BulkAddProductsInput input