{
  "id": "aa58a883-1e6f-4ec1-aa06-556908167f46",
  "topic": "claim.created",
  "created_at": "2024-03-20T10:00:00Z",
  "body": {
    "claim_id": "cm6v2zdt10002j20vqs7f74hc",
    "order_id": "order-1",
    "source_order_id": "100",
    "created_at": "2024-03-20T10:00:00Z",
    "claim_description": "Item arrived damaged",
    "claim_type": "DAMAGED",
    "claim_state": "NEW",
    "items": [
      {
        "product_id": "prod001",
        "variant_id": "var001",
        "sku": "SKU123",
        "item_id": "item001",
        "item_name": "Wireless Mouse",
        "quantity": 1
      }
    ]
  }
}
{
  "id": "aa58a883-1e6f-4ec1-aa06-556908167f46",
  "topic": "claim.created",
  "created_at": "2024-03-20T10:00:00Z",
  "body": {
    "claim_id": "cm6v2zdt10002j20vqs7f74hc",
    "order_id": "order-1",
    "source_order_id": "100",
    "created_at": "2024-03-20T10:00:00Z",
    "claim_description": "Item arrived damaged",
    "claim_type": "DAMAGED",
    "claim_state": "NEW",
    "items": [
      {
        "product_id": "prod001",
        "variant_id": "var001",
        "sku": "SKU123",
        "item_id": "item001",
        "item_name": "Wireless Mouse",
        "quantity": 1
      }
    ]
  }
}

This webhook is triggered when a new claim is created.

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