Skip to main content

ProductInput

type ProductInput {
id: ID
attributes: [ProductAttributeValueInput!]
baseUnit: ProductBaseUnitModelInput
brandId: String
categoryIds: [String!]
description: String
googleTaxonomyId: String
groupVariantsByVariantTypeId: String
hiddenSalesChannelIds: [String!]
maxQuantityPerCart: Float
metaData: HTMLMetaDataInput
name: String!
productOptionSetId: String
productVariantTypes: [ProductVariantTypeInput!]
productVolumeDiscountId: String
salesChannelIds: [String!]
shortDescription: String
tagIds: [String!]
translations: [ProductTranslationInput!]
type: ProductTypeEnum!
variants: [VariantInput!]!
vendorId: String
weight: Float
}

Fields

idID
brandIdString
categoryIds[String!]
descriptionString
googleTaxonomyIdString
groupVariantsByVariantTypeIdString
hiddenSalesChannelIds[String!]
maxQuantityPerCartFloat

Max purchasable quantity of the product for per cart.

nameString!required
productOptionSetIdString
productVariantTypes[ProductVariantTypeInput!]
productVolumeDiscountIdString
salesChannelIds[String!]
shortDescriptionString
tagIds[String!]
typeProductTypeEnum!required
variants[VariantInput!]!required
vendorIdString
weightFloat