Skip to main content

AttributeUpdate

Updates attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_UPDATED (async): An attribute was updated.
type AttributeUpdate {
attribute: Attribute
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
}

Fields

AttributeUpdate.attribute ● Attribute object attributes

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

DEPRECATED

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

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

Returned By

attributeUpdate mutation