> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cope.com/llms.txt
> Use this file to discover all available pages before exploring further.

# cart.cart_line.removed

> A line item has been removed from a cart.

# cart.cart\_line.removed

> Generated from COPE public event contracts. Do not edit this page by hand.

Use this event to track products removed before checkout.

## Delivery Contract

| Field           | Value                                                                                |
| --------------- | ------------------------------------------------------------------------------------ |
| Encoding        | CloudEvents 1.0 structured JSON                                                      |
| Delivery        | At least once                                                                        |
| Idempotency     | Use the CloudEvents `source` + `id` tuple, or COPE `idempotency_key` when available. |
| Source          | `cope.cart`                                                                          |
| Subject pattern | `cart_line:<identifier>`                                                             |
| Category        | Cart                                                                                 |
| Availability    | Available in the public webhook reference.                                           |
| Schema title    | cart.cart\_line.removed v1 payload                                                   |
| Schema ID       | `https://schemas.cope.com/events/cart.cart_line.removed/v1`                          |

## Payload Fields

| Field        | Required | Type      | Allowed Values | Description |
| ------------ | -------- | --------- | -------------- | ----------- |
| `cart_id`    | yes      | `string`  | -              | -           |
| `line_id`    | yes      | `integer` | -              | -           |
| `product_id` | yes      | `integer` | -              | -           |

## Example CloudEvent

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "data": {
    "cart_id": "example_id",
    "line_id": 1000,
    "product_id": 1000
  },
  "datacontenttype": "application/json",
  "dataschema": "https://schemas.cope.com/events/cart.cart_line.removed/v1",
  "id": "cart.cart_line.removed:example",
  "idempotency_key": "cart.cart_line.removed:example",
  "source": "cope.cart",
  "specversion": "1.0",
  "subject": "cart_line:example",
  "time": "2026-05-05T12:00:00.000Z",
  "type": "cart.cart_line.removed"
}
```

## Compatibility

Fields may be added within the same major version. Removing or changing the meaning of a documented field requires a new event version.
