pending ProductChange for one product, attaches the given actions to it, then runs autoConfirmProductChangeWorkflow — so the change is applied immediately when auto_confirm is true or the product_request feature flag is disabled. This is the engine behind the vendor product-edit workflows (productEditUpdateProduct, productEditUpdateVariants, productEditUpdateAttributes, productEditDeleteProduct). Emits product-change.created.
Usage
Input
Id of the product the change targets.
Actions to stage on the change (
CreateProductChangeActionDTO without product_change_id, which is stamped automatically).Actor id who staged the change; also used as
confirmed_by on auto-confirm.Operator-only note stored on the change.
Vendor-facing note stored on the change.
Force immediate confirmation even when the
product_request feature flag is enabled.Result
The created change record; still
pending unless it was auto-confirmed.