{
  "id": "aa58a883-1e6f-4ec1-aa06-556908167f46",
  "topic": "message.created",
  "created_at": "2024-03-20T10:00:00Z",
  "body": {
    "claim_id": "cm6v2zdt10002j20vqs7f74hc",
    "order_id": "order-1",
    "source_order_id": "100",
    "message": "OrderProtection.com claim was created on 11 February 2025 5:49pm with the type Damaged. View details here: https://app.orderprotection.com/claims/view/cm6rzxj0300082b0pd0kh53ma"
  }
}
{
  "id": "aa58a883-1e6f-4ec1-aa06-556908167f46",
  "topic": "message.created",
  "created_at": "2024-03-20T10:00:00Z",
  "body": {
    "claim_id": "cm6v2zdt10002j20vqs7f74hc",
    "order_id": "order-1",
    "source_order_id": "100",
    "message": "OrderProtection.com claim was created on 11 February 2025 5:49pm with the type Damaged. View details here: https://app.orderprotection.com/claims/view/cm6rzxj0300082b0pd0kh53ma"
  }
}

This webhook is triggered when there has been an update within Order Protection, such as when a claim has been created or resolved.

These messages can be used to add comments to the order in your internal system.

Request Body

The webhook will send a JSON payload with the following structure:

Properties

id
string

Unique identifier for the webhook event

topic
string

The webhook topic

created_at
string

ISO 8601 timestamp of when the webhook was created

body
object

The webhook payload