Skip to main content

AttributeValueCreate

Creates a value for an attribute.

Requires MANAGE_PRODUCTSpermission.
type AttributeValueCreate {
attribute: Attribute
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
attributeValue: AttributeValue
}

Fields

AttributeValueCreate.attribute ● Attribute object

The updated attribute.

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

DEPRECATED

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?