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

Fields

AttributeBulkCreate.count ● Int! non-null scalar miscellaneous

Returns how many objects were created.

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

List of the created attributes.

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

Returned By

attributeBulkCreate mutation