Skip to main content
Version: 3.x

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.
type AttributeBulkCreate {
count: Int!
results: [AttributeBulkCreateResult!]!
errors: [AttributeBulkCreateError!]!
}

Fields

AttributeBulkCreate.count ● Int! non-null scalar

Returns how many objects were created.

AttributeBulkCreate.results ● [AttributeBulkCreateResult!]! non-null object

List of the created attributes.

AttributeBulkCreate.errors ● [AttributeBulkCreateError!]! non-null object

Returned by

attributeBulkCreate mutation


Was this page helpful?