---
title: "Delete Cart Addition"
method: DELETE
path: "/{databaseId}/cartadditions/"
tags: ["User-Item Interactions"]
---

# Delete Cart Addition

`DELETE /{databaseId}/cartadditions/`

Deletes an existing cart addition uniquely specified by `userId`, `itemId`, and `timestamp` or all the cart additions with the given `userId` and `itemId` if `timestamp` is omitted.

## Path parameters

- `databaseId` string, required

## Query parameters

- `userId` string, required
- `itemId` string, required
- `timestamp` number, double

## Response `200`

Successful operation.

## Other responses

- `400` — Given `userId` or `itemId` does not match ^[a-zA-Z0-9_\-:@\.]+$, or `timestamp` is not a real number ≥ 0.
- `404` — The `userId`, `itemId`, or cart addition with the given (`userId`, `itemId`, `timestamp`) not found in the database. If there is no additional info in the JSON response, you probably have an error in your URL.

---

[API](https://skmtc.dev/recombee/apis/recombee-api.md) · [All operations](https://skmtc.dev/recombee/apis/recombee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/recombee/recombee-api/revisions/a9c9c33eb2e8/schema)
