Skip to main content
This reference lists the workflows for the Attribute domain. Import them from @mercurjs/core/workflows and run them against the Medusa container.

Catalog workflows

Manage the attribute catalog and its values.

Product-attachment workflows

Attach attributes to products in the shared master catalog.
createAndLinkProductAttributesToProductWorkflow is the engine behind the product attribute batch endpoint; it composes the three single-purpose attachment workflows. See Attach attributes to a product.
To work with records directly instead of through a workflow, see the Service reference. To run side effects when an attribute changes, see the Event reference.