Skip to main content

attributeBulkCreate Mutation

Creates attributes.

Triggers the following webhook events:

  • ATTRIBUTE_CREATED (async): An attribute was created.
attributeBulkCreate(
attributes: [AttributeCreateInput!]!
errorPolicy: ErrorPolicyEnum
): AttributeBulkCreate
Details
type AttributeBulkCreate {
count: Int!
results: [AttributeBulkCreateResult!]!
errors: [AttributeBulkCreateError!]!
}

Arguments​

attributes ● [AttributeCreateInput!]!​

Input list of attributes to create.

errorPolicy ● ErrorPolicyEnum​

Policies of error handling. DEFAULT: REJECT_EVERYTHING

Type​

AttributeBulkCreate​

Creates attributes.

Triggers the following webhook events:

  • ATTRIBUTE_CREATED (async): An attribute was created.