attributeBulkCreate Mutation
Creates attributes.
Triggers the following webhook events:
- ATTRIBUTE_CREATED (async): An attribute was created.
Applied directives
@webhookEventsInfo(asyncEvents: [ATTRIBUTE_CREATED], syncEvents: [])
attributeBulkCreate(attributes: [AttributeCreateInput!]!, errorPolicy: ErrorPolicyEnum): AttributeBulkCreate
Returns
Show return type
type AttributeBulkCreate {
count: Int!
results: [AttributeBulkCreateResult!]!
errors: [AttributeBulkCreateError!]!
}Arguments
attributes
attributes · [AttributeCreateInput!]!
Input list of attributes to create.
errorPolicy
errorPolicy · ErrorPolicyEnum
Policies of error handling. DEFAULT: REJECT_EVERYTHING
Schema: Saleor 3.23.43. Download SDL.