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