Skip to main content
Modules in Mercur never reference each other directly. They connect through module links. The OrderGroup entity (owned by the Seller module) sits at the center of a completed multi-seller purchase, linking the cart it came from to the per-seller orders it produced. Once a link is defined, you retrieve related records with query.graph using the link alias.
The child orders produced by the split carry their own marketplace links:
The cart_id link is resolved from the field on the group and can’t be written through the link itself. The split sets it once, at creation.
To scope a group to a single seller, filter its child orders by orders.seller.id. The list workflow does exactly this when you pass a sellerId. See List order groups.