---
title: "Remove from cart"
method: DELETE
path: "/v1/buy/cart"
tags: ["Cart"]
---

# Remove from cart

`DELETE /v1/buy/cart`

## Request

- Base URL: `https://api.wavix.com`
- URL: `https://api.wavix.com/v1/buy/cart`
- Auth: HTTP bearer

Removes the listed phone numbers from the purchase cart.

## Request body

- object
  - `ids` string[], required: Phone numbers to remove from the cart.

## Response `200`

Returns a success confirmation. The numbers are removed from the cart.

- SuccessResponse
  - `success` boolean, required: Indicates whether the request was successful.

## Other responses

- `400`: Request failed. Missing or invalid parameter <param_name>
- `401`: Unauthorized
- `403`: Request failed. The feature is disabled for your account.
- `404`: Request failed. An object with the specified ID is not found.

## Changes

- **2026-09-08** `6a89c962481c`: 1 breaking, 3 info
  - the response's body type changed from no type to `object` for status `200`
  - removed `#/components/schemas/SuccessResponse, subschema #2` from the response body `allOf` list for the response status `200`
  - added the non-success response with the status `401`
  - added the required property `success` to the response with the `200` status
- **2026-05-25** `33be77905120`: 1 info
  - the endpoint scheme security `bearerAuth` was added to the API
- **2026-05-08** `ce71f60fb356`: 1 breaking
  - the request property `ids` became required
- **2026-04-20** `2e48fd9894e1`: 3 info
  - api operation id `Removenumbersfromthecart` removed and replaced with `cart_remove`
  - added `#/components/schemas/SuccessResponse` to the response body `allOf` list for the response status `200`
  - removed `#/components/schemas/SuccessfulRequest` from the response body `allOf` list for the response status `200`
- **2026-02-12** `fabaadf195a9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wavix/apis/wavix-apis/changes/v1/buy/cart/delete.md)

---

[API](https://skmtc.dev/wavix/apis/wavix-apis.md) - [All operations](https://skmtc.dev/wavix/apis/wavix-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/wavix/apis/wavix-apis/revisions/f2dde79f05ab?raw)
