Skip to main content
Version: 3.x


No description

input ProductBulkCreateInput {
attributes: [AttributeValueInput!]
category: ID
chargeTaxes: Boolean
collections: [ID!]
description: JSONString
name: String
slug: String
taxClass: ID
taxCode: String
seo: SeoInput
weight: WeightScalar
rating: Float
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
externalReference: String
productType: ID!
media: [MediaInput!]
channelListings: [ProductChannelListingCreateInput!]
variants: [ProductVariantBulkCreateInput!]
Expand ▼


ProductBulkCreateInput.attributes ● [AttributeValueInput!] list input

List of attributes.

ProductBulkCreateInput.category ● ID scalar

ID of the product's category.

ProductBulkCreateInput.chargeTaxes ● Boolean scalar

Determine if taxes are being charged for the product.

DEPRECATED: this field will be removed in Saleor 4.0. Use Channel.taxConfiguration to configure whether tax collection is enabled.

ProductBulkCreateInput.collections ● [ID!] list scalar

List of IDs of collections that the product belongs to.

ProductBulkCreateInput.description ● JSONString scalar

Product description.

Rich text format. For reference see ● String scalar

Product name.

ProductBulkCreateInput.slug ● String scalar

Product slug.

ProductBulkCreateInput.taxClass ● ID scalar

ID of a tax class to assign to this product. If not provided, product will use the tax class which is assigned to the product type.

ProductBulkCreateInput.taxCode ● String scalar

Tax rate for enabled tax gateway.

DEPRECATED: this field will be removed in Saleor 4.0. Use tax classes to control the tax calculation for a product. If taxCode is provided, Saleor will try to find a tax class with given code (codes are stored in metadata) and assign it. If no tax class is found, it would be created and assigned.

ProductBulkCreateInput.seo ● SeoInput input

Search engine optimization fields.

ProductBulkCreateInput.weight ● WeightScalar scalar

Weight of the Product.

ProductBulkCreateInput.rating ● Float scalar

Defines the product rating value.

ProductBulkCreateInput.metadata ● [MetadataInput!] list input

Fields required to update the product metadata.

ProductBulkCreateInput.privateMetadata ● [MetadataInput!] list input

Fields required to update the product private metadata.

ProductBulkCreateInput.externalReference ● String scalar

External ID of this product.

ProductBulkCreateInput.productType ● ID! non-null scalar

ID of the type that product belongs to. ● [MediaInput!] list input

List of media inputs associated with the product.

ProductBulkCreateInput.channelListings ● [ProductChannelListingCreateInput!] list input

List of channels in which the product is available.

ProductBulkCreateInput.variants ● [ProductVariantBulkCreateInput!] list input

Input list of product variants to create.

Member of

productBulkCreate mutation

Was this page helpful?