Carts
Complete Cart
Complete the cart and split it into per-seller orders under an order group.
POST
Completes the cart with Mercur’s split-order workflow: items are grouped by seller, one order is created per seller, and all orders are attached to a single order group returned to the shopper.
On payment errors that need customer action (authorization failed or requires more), the route still returns
200 with type: "cart", the refreshed cart, and an error object; any other failure is thrown as an error response.Path parameters
The cart’s ID.
Query parameters
Comma-separated fields to include on the returned order group; prefix with
+/- to add to or remove from the defaults.Response
order_group on success, cart when payment requires further action.Present when
type is order_group.Present when
type is cart; the refreshed cart with items, totals, and payment collection.Present when
type is cart.