Skip to main content

attributeBulkCreate

Creates attributes.

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

Triggers the following webhook events:

  • ATTRIBUTE_CREATED (async): An attribute was created.
attributeBulkCreate(
attributes: [AttributeCreateInput!]!
errorPolicy: ErrorPolicyEnum
): AttributeBulkCreate

Arguments

attributeBulkCreate.attributes ● [AttributeCreateInput!]! non-null input attributes

Input list of attributes to create.

attributeBulkCreate.errorPolicy ● ErrorPolicyEnum enum miscellaneous

Policies of error handling. DEFAULT: REJECT_EVERYTHING

Type

AttributeBulkCreate object attributes

Creates attributes.

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

Triggers the following webhook events:

  • ATTRIBUTE_CREATED (async): An attribute was created.