Update items in cart

Updates one or more item selections in the cart by their externalId. Send UpdateSelectionsRequest with selections array to update one or more items. Supports single or multiple items in one request. Returns cart with updated pricing and any validation problems.

SecurityOAuth2
Request
path Parameters
guid
required
string <uuid>

The identifier of the cart.

header Parameters
Toast-Restaurant-External-ID
string <uuid>

The identifier of the location.

Request Body schema: application/json
required
Array of objects (Selection) non-empty

List of item selections to update in the cart.

Responses
200

Successful operation. Menu item(s) updated in cart.

403

Unauthorized access.

404

Cart not found.

patch/carts/v1/carts/{guid}/selections
Request samples
application/json
{
  • "selections": [
    ]
}
Response samples
application/json
{
  • "cart": {
    },
  • "problems": [
    ]
}