Group Cart Leave

​

Drops out of the group order. The participant's slice is deleted and the host's checkout is invalidated, so the host has to check out again.

Guests only. The host cannot leave their own session — that returns 1210 — they cancel it instead. Leaving is possible while the session is open, and while it is locked right up until payment is initialized.

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

  • The participant_access_token returned when this participant joined or created the session

  • Bearer token of the signed-in customer. Omit it for an anonymous guest

Body

application/json

No request body.

Responses

  • The participant, now left.

  • 1206 the session is already being paid for · 1210 the host cannot leave

  • The participant token is missing.

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