---
title: "Remove Product from Cart"
description: "Use POST /carts/remove_product to remove a product selection from a cart."
canonical: https://docs.ordering.co/api-reference/guides/remove-products-to-cart/
---

# Remove Product from Cart

> **API operation:** [Open the endpoint in Scalar](https://docs.ordering.co/api-reference/#tag/carts/POST/carts/remove_product)

Use `POST /carts/remove_product` to remove a product selection from a cart. The current public operation is `Cart.remove_product`.

This operation requires authentication and accepts the cart product representation as JSON. Send the product identity as stored in the cart: its `code` distinguishes otherwise similar selections that have different options. The controller applies user and business-manager access checks before removal.

See [Cart model](https://docs.ordering.co/api-reference/guides/cart-model/) for product structures.

## OpenAPI reference

**Operation:** `POST /carts/remove_product`

**Header parameters**

| Name            | Type   | Required | Description |
| --------------- | ------ | -------- | ----------- |
| `X-SOCKET-ID-X` | string | No       | —           |

**Request body fields**

| Name               | Type   | Required |
| ------------------ | ------ | -------- |
| `business_id`      | any    | No       |
| `platform_product` | string | No       |
| `product`          | string | No       |
| `user_id`          | any    | No       |
| `uuid`             | any    | No       |

**Responses**

| Code | Description                           |
| ---- | ------------------------------------- |
| 200  | OK                                    |
| 400  | Bad Request (ErrorResponse)           |
| 401  | Unauthorized                          |
| 404  | Not Found                             |
| 429  | Too Many Requests (ErrorResponse)     |
| 500  | Internal Server Error (ErrorResponse) |
| 503  | Service Unavailable (ErrorResponse)   |

[Open this operation in the API reference](https://docs.ordering.co/api-reference/#tag/carts/POST/carts/remove_product)
