Group Cart Update Participant Cart
Lets the host edit somebody else's slice — removing an item that is no longer available, or fixing an order for a guest who has gone quiet.
Host only, and it deliberately bypasses the ready gate: the host can edit a participant who has already marked themselves ready. It works while the session is open or locked, but not once a payment exists.
Only the host's own slice may carry discounts and donations; sending them on a guest's slice returns 1204.
Path Parameters
- Type: stringFormat: uuidgroup
_cart _uuid requiredUUID of the group cart session
- Type: stringFormat: uuidparticipant
_uuid requiredUUID of the participant
Headers
- Type: stringApplicationrequired
White Label Application Key
- Type: stringApi
- Version requiredVersion of the API that the client app expects
- Type: stringContent
- Type requiredRequired even on requests with no body
- Type: stringAuthorizationrequired
Bearer token of the signed-in customer
- Type: stringDlc
- Authorization Punchh customer token, on a brand integrated with Punchh.
Authorizationdoes not authenticate you to Punchh. Send it on every cart call for a signed-in registered customer — any cart with items triggers a loyalty calculation, with or without a discount — and for a guest only when the cart carries a reward, offer, credit or promo code. Omitting it falls back to the token stored for that customer at sign-in, which may be stale.Declared optional because it is conditional, not because it is safe to leave out. It applies only to a Punchh brand, so marking it required would be wrong for every brand without the integration. See Use Rewards, Offers, Customer Credits, and Promo Codes.
Body·
- Properties: 4Type: objectcartrequired
Responses
- 200
The updated slice.
- 400
1204not the host, or discounts sent on a guest slice ·1206the session state does not allow edits ·1211over the per-guest cap ·1218the edit conflicts with a restored manager discount - 404
Unknown group cart or participant.
curl https://api-public-demo.menu.app/api/group-cart/7c9e6679-f1e4-40b3-a2c5-e8f1a0b9d4c3/participants/1f2d3c4b-5a60-4b91-8a0e-b1c5f0a377a2/cart \
--request PUT \
--header 'Application: ' \
--header 'Api-Version: 4.78.0' \
--header 'Content-Type: application/json' \
--header 'Authorization: ' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"cart": {
"products": [
{}
],
"tip": {
"amount": 1,
"type": 1
},
"discounts": [
{}
],
"donations": [
{}
]
}
}'
