ProductOptions of axis attributes are deleted alongside. Triggered by DELETE /admin/product-attributes/:id; also run internally when detaching product-scoped attributes. Emits product-attribute.deleted.
Usage
Input
Ids of the attributes to delete; the workflow throws if an attribute is still linked.
Custom data passed through to the hooks.
Result
No return value.
Hooks
validate— runs before deletion with{ input }.productAttributesDeleted— runs after deletion with{ ids, additional_data }.