Skip to main content

AttributeCreate Object

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 attributes

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

DEPRECATED

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

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

Returned By

attributeCreate mutation