Skip to main content
Order groups are owned by the Seller module, so you resolve the same service you’d use for stores. Resolve it from the Medusa container to read and write OrderGroup records directly, without going through a workflow. Use it inside custom services, subscribers, or scheduled jobs.
There is no ORDER_GROUP module key. The OrderGroup model is registered on the Seller module, so its service methods live on MercurModules.SELLER.

Generated methods

The OrderGroup model gets the standard set of auto-generated methods: The list, count, and retrieve methods run through the module’s order-group repository, which aggregates each group’s child orders to fill in the computed seller_count and total. Supported filters include id, customer_id, seller_id, status, sales_channel_id, created_at, updated_at, and q.
Prefer workflows for reads that need aggregated child-order status, and for the checkout split. The service returns the group row and its computed totals but does not expand child orders’ payment/fulfillment status, emit events, or run compensation.