Baskets

Bulk update Basket guests

Replaces or upserts the basket's guest list in one call. Each entry can carry an id to update an existing guest in-place, or omit id to create a new guest. Pre-existing guests not referenced in the payload are left untouched.

Use this after collecting guest details on a multi-guest booking journey — it's cheaper than issuing one mutation per guest and keeps the basket's totals consistent.

post/shop/basket/{basketId}/update-guests

Request body

Example request

{
  "guests": [
    {
      "id": "5f4444444444444444444444",
      "name": "Avery Lin"
    }
  ]
}

Response

The updated Basket with refreshed guest entries.

Changes

No recorded changes to this endpoint across all 1 revision of this API.