Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

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

AttributeBulkCreate

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.

Last updated on April 13, 2026

Was this page helpful?