Group Cart Cancel

​

Abandons the group order. Host only, and it is final — the status becomes cancelled, the invite token is cleared so the link stops working, and every participant is removed.

Use it when the host backs out; there is no way to revive a cancelled session.

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 is cancelled.

  • 1204 not the host · 1206 the session is not active

  • Unknown group cart.

Request Example for post/group-cart/{group_cart_uuid}/cancel
curl https://api-public-demo.menu.app/api/group-cart/7c9e6679-f1e4-40b3-a2c5-e8f1a0b9d4c3/cancel \
  --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