AttributeValueDelete Object
Deletes a value of an attribute.
Requires one of the following permissions, depending on the type of the value’s attribute: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES for PRODUCT_TYPE attributes, MANAGE_PAGE_TYPES_AND_ATTRIBUTES for PAGE_TYPE attributes, MANAGE_CUSTOMER_TYPES_AND_ATTRIBUTES for CUSTOMER_TYPE attributes.
Triggers the following webhook events:
- ATTRIBUTE_VALUE_DELETED (async): An attribute value was deleted.
- ATTRIBUTE_UPDATED (async): An attribute was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [ATTRIBUTE_VALUE_DELETED, ATTRIBUTE_UPDATED], syncEvents: [])
type AttributeValueDelete {
attribute: Attribute
attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AttributeError!]!
attributeValue: AttributeValue
}
Fields
attribute
attribute · Attribute
The updated attribute.
attributeErrors
attributeErrors · [AttributeError!]!
errors
errors · [AttributeError!]!
attributeValue
attributeValue · AttributeValue
Used by
Schema: Saleor 3.23.43. Download SDL.