name changes, the mirror ProductOption title of any affected axis attribute is updated to match. Triggered by POST /admin/product-attributes/:id. Emits product-attribute.updated.
Usage
Input
Filter for the attributes to update, e.g.
{ id: "pattr_123" }.Fields to set on every matched attribute.
Custom data passed through to the hooks.
Result
The updated attributes.
Hooks
validate— runs before the update with{ input }.productAttributesUpdated— runs after the update with{ attributes, additional_data }.