Skip to main content

ProductBulkCreateInput Input Type

No description

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

Fields

attributes ● [AttributeValueInput!]

List of attributes.

category ● ID

ID of the product's category.

collections ● [ID!]

List of IDs of collections that the product belongs to.

description ● JSONString

Product description.

Rich text format. For reference see https://editorjs.io/

name ● String

Product name.

slug ● String

Product slug.

taxClass ● ID

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.

seo ● SeoInput

Search engine optimization fields.

weight ● WeightScalar

Weight of the Product.

rating ● Float

Defines the product rating value.

metadata ● [MetadataInput!]

Fields required to update the product metadata. Can be read by any API client authorized to read the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

privateMetadata ● [MetadataInput!]

Fields required to update the product private metadata. Requires permissions to modify and to read the metadata of the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

externalReference ● String

External ID of this product.

productType ● ID!

ID of the type that product belongs to.

media ● [MediaInput!]

List of media inputs associated with the product.

channelListings ● [ProductChannelListingCreateInput!]

List of channels in which the product is available.

variants ● [ProductVariantBulkCreateInput!]

Input list of product variants to create.

Show deprecated

Member Of

productBulkCreate mutation