Skip to main content

AttributeValueDelete

Deletes a value of an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_VALUE_DELETED (async): An attribute value was deleted.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.
type AttributeValueDelete {
attribute: Attribute
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
attributeValue: AttributeValue
}

Fields

AttributeValueDelete.attribute ● Attribute object attributes

The updated attribute.

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

DEPRECATED

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

AttributeValueDelete.errors ● [AttributeError!]! non-null object attributes

AttributeValueDelete.attributeValue ● AttributeValue object attributes

Returned By

attributeValueDelete mutation