> ## 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.buyer_identity.updated

> The buyer identity on a cart has changed.

# cart.buyer\_identity.updated

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

Use this event to update buyer contact or billing identity state during 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 | `buyer_identity:<identifier>`                                                        |
| Category        | Cart                                                                                 |
| Availability    | Available in the public webhook reference.                                           |
| Schema title    | cart.buyer\_identity.updated v1 payload                                              |
| Schema ID       | `https://schemas.cope.com/events/cart.buyer_identity.updated/v1`                     |

## Payload Fields

| Field     | Required | Type     | Allowed Values | Description |   |
| --------- | -------- | -------- | -------------- | ----------- | - |
| `cart_id` | yes      | `string` | -              | -           |   |
| `country` | yes      | \`string | null\`         | -           | - |

## Example CloudEvent

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

## Compatibility

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