AttributeValueCreate Object
Creates a value for an attribute.
Triggers the following webhook events:
- ATTRIBUTE_VALUE_CREATED (async): An attribute value was created.
- ATTRIBUTE_UPDATED (async): An attribute was updated.
type AttributeValueCreate {
attribute: Attribute
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
attributeValue: AttributeValue
}
Fields
AttributeValueCreate.attribute
● Attribute
object attributes
The updated attribute.
AttributeValueCreate.attributeErrors
● [AttributeError!]!
deprecated non-null object attributes
DEPRECATED
This field will be removed in Saleor 4.0. Use errors
field instead.
AttributeValueCreate.errors
● [AttributeError!]!
non-null object attributes
AttributeValueCreate.attributeValue
● AttributeValue
object attributes
Returned By
attributeValueCreate
mutation