Skip to main content

AttributeValueCreate Object

Creates a value for an attribute.

Requires the 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
}

Fields

attribute ● Attribute

The updated attribute.

errors ● [AttributeError!]!

attributeValue ● AttributeValue

Show deprecated

Returned By

attributeValueCreate mutation