Add items to cart

Adds one or more item selections to the cart. 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)

Menu items to be added to the cart.

Responses
200

Successful operation. Menu item(s) added to cart.

403

Unauthorized access.

404

Cart not found.

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