GET
/
carts
/
{cartId}
curl --request GET \
  --url https://api.craveup.com/v1/carts/{cartId} \
  --header 'X-API-Key: <api-key>'
{
  "id": "<string>",
  "totalQuantity": 123,
  "subTotal": "<string>",
  "taxTotal": "<string>",
  "orderTotal": "<string>",
  "items": [
    {}
  ]
}

Authorizations

X-API-Key
string
header
required

Path Parameters

cartId
string
required

The ID of the cart to retrieve.

Response

200
application/json

Cart retrieved successfully.

The response is of type object.