Event envelope
Every WMS event has the same envelope; only data changes with the type of the event.
On this page
The type has the form com.rdcopilot.warehouse.<event>.v1. The last part is the version of data.
Fields
| Field | Meaning |
|---|---|
specversion | Version of the envelope format. |
id | Identifier of this event. A repeated delivery of the same event has the same id. |
type | What happened, in the form above. |
source | The product that sent the event. |
time | When the event happened, as a date and time with a time zone. |
customerOrgId | Your organisation. |
legalCompanyId | The legal company that the event belongs to, test or live. |
aggregateType | The kind of record that changed. |
aggregateId | The record that changed. |
aggregateRevision | The revision of the record after the change. |
correlationId | Ties together everything that came from one request or one flow. |
causationId | The document or operation that caused this event. |
actor | Who or what made the change. |
data | The content of the event. Its shape depends on type. |
Example
{
"specversion": "1.0",
"id": "7d3a1c58-2e94-4b06-a1f7-93c5e08b4d21",
"type": "com.rdcopilot.warehouse.pick_task.confirmed.v1",
"source": "/warehouse/v1",
"time": "2026-11-23T08:00:00Z",
"customerOrgId": "a3f1d7c2-64be-4b09-9d58-2c0e7f1a8b34",
"legalCompanyId": "c8b25e90-1d47-4f3a-a6d2-93e0b51f7c68",
"aggregateType": "pick_task",
"aggregateId": "a1000000-0000-4000-8000-000000023106",
"aggregateRevision": 5,
"correlationId": "f06a3b8d-9e21-47c5-8b14-d5a7e2c10963",
"causationId": "b653bc5c-d8f9-428a-8423-cf24688c5b2a",
"actor": {
"serviceId": "warehouse-api"
},
"data": {
"number": "T-0231-06",
"orderNumber": "CV-1044",
"sku": "ZA-0201",
"lot": "L26-0870",
"locationCode": "A-02-01",
"picked": "30"
}
} Deliveries can repeat. Use id to skip an event you already handled. Delivery and retries says when an event is sent again.
The full rule: Developer guide