cart.order.created
Generated from COPE public event contracts. Do not edit this page by hand.Use this event to track order creation before the order reaches a terminal payment outcome.
Delivery Contract
| Field | Value |
|---|---|
| Encoding | JSON: id, type, version, source, created_at, occurred_at, data |
| Delivery | At least once |
| Idempotency | Deduplicate on id: every retry and replay of this event repeats it, and X-Cope-Event-Id carries it. |
| Source | cope.cart |
| Category | Orders |
| Availability | Available in the public webhook reference. |
| Schema title | cart.order.created webhook body |
| Schema ID | https://schemas.cope.com/webhooks/cart.order.created/v1 |
Payload Fields
| Field | Required | Type | Allowed Values | Description |
|---|---|---|---|---|
business | no | object | - | The selling business. |
buyer | no | object | - | The buyer as the checkout captured them. email is null when the checkout did not ask for one. |
cart | no | object | - | The cart the order was built from. An order no cart produced (a post-purchase upsell) names none, and the key is left out. |
metadata | yes | object | - | The metadata you attached to the cart when you created it, including the reserved external_reference and intended_payment_method keys when you set them, and without the keys COPE reserves for its own use. An empty object when you attached none. A post-purchase upsell repeats the originating order’s metadata. |
order | no | object | - | The order this event concerns. |
Example delivery
{
"created_at": "2026-05-05T12:00:00.000Z",
"data": {
"business": {
"id": "biz_g7-Jq2PxT_4mRvNa",
"object": "business"
},
"buyer": {
"billing_address": {
"city": "example_city",
"country": "DE",
"line1": "example_line1",
"line2": "example_line2",
"postal_code": "example_postal_code",
"region": "example_region"
},
"company_name": "example_company_name",
"email": "ada@example.com",
"first_name": "example_first_name",
"full_name": "example_full_name",
"last_name": "example_last_name",
"locale": "de",
"phone": "example_phone",
"private_person": false,
"shipping_address": {
"city": "example_city",
"country": "DE",
"line1": "example_line1",
"line2": "example_line2",
"postal_code": "example_postal_code",
"region": "example_region"
},
"tax_id": "example_tax_id"
},
"cart": {
"id": "5b1f8c2e-7d4a-4e9b-a3c6-0f2d9e8b7a61",
"object": "cart"
},
"metadata": {},
"order": {
"created_at": "2026-05-12T16:30:12Z",
"currency": "EUR",
"id": "ord_V7kP2mQx9RtL",
"object": "order",
"source": "checkout"
}
},
"id": "8d2f6c1a-4e7b-4a39-b5d0-2c9e1f7a3b64",
"occurred_at": "2026-05-05T11:59:58.500Z",
"source": "cope.cart",
"type": "cart.order.created",
"version": "v1"
}