Group Cart Checkout

​

Merges every participant's slice into one cart and prices it against the POS — the group equivalent of Cart Checkout.

Lock the session first. Checkout on an open session returns 1206.

The response carries the merged cart with the order-level totals, fees and taxes the host is about to pay. From here the flow is the same as a personal cart: initialize payment, then create the order.

Almost anything that changes the session invalidates this. A participant leaving, the host removing someone or editing a slice, or a PATCH to the session all mean you have to check out again, otherwise paying or ordering returns 1220.

Path Parameters

  • UUID of the group cart session

Headers

  • White Label Application Key

  • Version of the API that the client app expects

  • Required even on requests with no body

  • Bearer token of the signed-in customer

Body

application/json

No request body.

Responses

  • The session and the merged, priced cart.

  • 1203 the session has no payable content · 1204 not the host · 1206 the session is not locked or has expired · 1211 a participant is over their cap · 1219 the merge failed · the merged cart is empty

  • Unknown group cart.

Request Example for post/group-cart/{group_cart_uuid}/checkout
curl https://api-public-demo.menu.app/api/group-cart/7c9e6679-f1e4-40b3-a2c5-e8f1a0b9d4c3/checkout \
  --request POST \
  --header 'Application: ' \
  --header 'Api-Version: 4.78.0' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: ' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No Body