cart.order.failed
Generated from COPE public event contracts. Do not edit this page by hand.Use this event to stop fulfillment or recovery workflows after an order cannot complete.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
An order has failed.
Generated from COPE public event contracts. Do not edit this page by hand.Use this event to stop fulfillment or recovery workflows after an order cannot complete.
| 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 | order:<identifier> |
| Category | Orders |
| Availability | Planned; not currently emitted. |
| Schema title | cart.order.failed v1 payload |
| Schema ID | https://schemas.cope.com/events/cart.order.failed/v1 |
| Field | Required | Type | Allowed Values | Description |
|---|---|---|---|---|
business | yes | object | - | - |
buyer | yes | object | - | - |
event_type | yes | const | cart.order.failed | - |
failed_at | yes | string | - | - |
failure_code | yes | string | - | - |
failure_message | yes | string | - | - |
line_items | yes | array | - | - |
metadata | no | object | - | - |
occurred_at | yes | string | - | - |
order | yes | object | - | - |
payment_method | no | object | - | - |
schema_version | yes | const | 1.0 | - |
totals | yes | object | - | - |
{
"data": {
"business": {},
"buyer": {},
"event_type": "cart.order.failed",
"failed_at": "2026-05-05T12:00:00.000Z",
"failure_code": "example_failure_code",
"failure_message": "example_failure_message",
"line_items": [
{
"amounts": {
"gross_cents": 1000,
"net_cents": 1000,
"tax_cents": 1000
},
"is_trial": true,
"product": {},
"quantity": 1000
}
],
"occurred_at": "2026-05-05T12:00:00.000Z",
"order": {
"currency": "EUR"
},
"schema_version": "1.0",
"totals": {
"currency": "EUR",
"total": {
"gross_cents": 1000,
"net_cents": 1000,
"tax_cents": 1000
}
}
},
"datacontenttype": "application/json",
"dataschema": "https://schemas.cope.com/events/cart.order.failed/v1",
"id": "cart.order.failed:example",
"idempotency_key": "cart.order.failed:example",
"source": "cope.cart",
"specversion": "1.0",
"subject": "order:example",
"time": "2026-05-05T12:00:00.000Z",
"type": "cart.order.failed"
}
Was this page helpful?