---
title: "Remove items from cart"
method: POST
path: "/mcp/v1/actions/ud_cart_remove"
tags: ["Cart"]
---

# Remove items from cart

`POST /mcp/v1/actions/ud_cart_remove`

## Request

- Base URL: `https://api.unstoppabledomains.com`
- URL: `https://api.unstoppabledomains.com/mcp/v1/actions/ud_cart_remove`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/unstoppabledomains/apis/user-api/docs/mcp/v1/actions/ud_cart_remove/post.ts> (a function with typed inputs; its response is checked against the schema)

Remove one or more items from the shopping cart by product ID. Returns the updated cart. Requires authentication.

## Request body

- object
  - `productIds` number[], required: Array of product IDs to remove from the cart

## Response `200`

Updated cart

- RemoveFromCartResponse
  - `removedProductIds` number[]
  - `removedCount` number
  - `cart` object
    - `itemCount` number
    - `subtotal` number
    - `subtotalFormatted` string
    - `items` CartItem[]
      - `productId` number
      - `productCode` string
      - `productType` string
      - `domain` string, nullable
      - `originalPrice` number
      - `originalPriceFormatted` string
      - `discountAmount` number
      - `discountAmountFormatted` string
      - `promoCreditsApplied` number
      - `accountBalanceApplied` number
      - `salesTax` number
      - `fees` object[]

## Other responses

- `401`: Authentication required

---

[API](https://skmtc.dev/unstoppabledomains/apis/user-api.md) - [All operations](https://skmtc.dev/unstoppabledomains/apis/user-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unstoppabledomains/apis/user-api/revisions/c1def8e34b41?raw)
