order_group.created, when checkout splits a cart. The same run emits Medusa’s order.placed for every child order. Subscribe to these events to send confirmations, sync external systems, or start follow-up workflows.
Events
Both events come fromcompleteCartWithSplitOrdersWorkflow. Neither is emitted when the workflow returns an existing group for a cart that was already split.
The event name is available as
OrderGroupWorkflowEvents.CREATED from @mercurjs/core/workflows. order.placed is Medusa’s OrderWorkflowEvents.PLACED from @medusajs/framework/utils.
Subscribe to a new group
Useorder_group.created for work that concerns the whole purchase, such as one confirmation email for a checkout that spans three sellers:
src/subscribers/order-group-created.ts