Skip to main content
Version: 3.x

AttributeCreate

Creates an attribute.

Triggers the following webhook events:

  • ATTRIBUTE_CREATED (async): An attribute was created.
type AttributeCreate {
attribute: Attribute
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
}

Fields

AttributeCreate.attribute ● Attribute object

AttributeCreate.attributeErrors ● [AttributeError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

AttributeCreate.errors ● [AttributeError!]! non-null object

Returned by

attributeCreate mutation


Was this page helpful?