Skip to main content
Version: 3.x


Creates a value for an attribute.

Requires MANAGE_PRODUCTSpermission.

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


AttributeValueCreate.attribute ● Attribute object

The updated attribute.

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


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

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

AttributeValueCreate.attributeValue ● AttributeValue object

Returned by

attributeValueCreate mutation

Was this page helpful?