AlphaAlpha Docs

Remove from cart

Removes a product from the cart

POST
/carts/{tenantId}/{cartId}/remove
AuthorizationBearer <token>

In: header

Path Parameters

cartId*string
tenantId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/carts/string/string/remove" \  -H "Content-Type: application/json" \  -d '{    "productId": "string",    "quantity": 0.1  }'
{
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "id": "string",
  "items": [
    {
      "productId": "string",
      "quantity": 0.1
    }
  ],
  "tenantId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "userId": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}