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 attributes
AttributeCreate.attributeErrors ● [AttributeError!]! deprecated non-null object attributes
DEPRECATEDThis field will be removed in Saleor 4.0. Use
errorsfield instead.
AttributeCreate.errors ● [AttributeError!]! non-null object attributes
Returned By
attributeCreate mutation