Skip to main content
Version: 3.x

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

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

DEPRECATED

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

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

Returned by

attributeUpdate mutation


Was this page helpful?