Skip to main content

productBulkCreate

Creates products.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_PRODUCTSpermission.
productBulkCreate(
errorPolicy: ErrorPolicyEnum
products: [ProductBulkCreateInput!]!
): ProductBulkCreate

Arguments

productBulkCreate.errorPolicy ● ErrorPolicyEnum enum miscellaneous

Policies of error handling. DEFAULT: REJECT_EVERYTHING

productBulkCreate.products ● [ProductBulkCreateInput!]! non-null input products

Input list of products to create.

Type

ProductBulkCreate object products

Creates products.

Added in Saleor 3.13
This API is currently in Feature Preview and can be subject to changes at later point.
Requires MANAGE_PRODUCTSpermission.