Get Cart
This API is used to retrieve the details of the cart.
Query Parameters
- cartId  requiredThe unique id of the cart. 
Responses
- 200
- 404
Success response
- application/json
- Example
{
  "statusCode": 200,
  "data": {
    "_id": "632488c1d491729ad937ac7d",
    "locationId": 1364,
    "bill": {
      "subtotal": 200,
      "tax": 0,
      "taxes": [],
      "discount": 0,
      "discounts": [],
      "charge": 0,
      "charges": [],
      "roundOff": 0,
      "total": 200
    },
    "items": [],
    "__v": 0
  }
}
Cart not found error response
- application/json
- Example
{
  "statusCode": 404,
  "message": "cart not found",
  "error": "Not Found"
}