> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orderprotection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# claim.created

<RequestExample>
  ```json Example Webhook Request theme={null}
  {
    "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
        }
      ]
    }
  }
  ```
</RequestExample>

This webhook is triggered when a new claim is created.

## Request Body

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

### Properties

<ParamField body="id" type="string">
  Unique identifier for the webhook event
</ParamField>

<ParamField body="topic" type="string">
  The webhook topic
</ParamField>

<ParamField body="created_at" type="string">
  ISO 8601 timestamp of when the webhook was created
</ParamField>

<ParamField body="body" type="object">
  The webhook payload

  <Expandable title="Webhook Payload">
    <ParamField body="claim_id" type="string">
      Unique identifier for the claim
    </ParamField>

    <ParamField body="order_id" type="string">
      Unique identifier for the order within Order Protection
    </ParamField>

    <ParamField body="source_order_id" type="string">
      Unique identifier for the order within your system
    </ParamField>

    <ParamField body="created_at" type="string">
      ISO 8601 timestamp of when the claim was created
    </ParamField>

    <ParamField body="claim_description" type="string">
      Description of the claim provided by the customer
    </ParamField>

    <ParamField body="claim_type" type="enum">
      Type of claim

      Available options: `DAMAGED`, `DEFECTIVE_ITEM`, `MISSING_ITEM`, `MULTIPLE`, `ORDER_DELIVERED_NOT_RECEIVED`, `RETURNED_TO_SENDER`, `STOLEN`, `WRONG_ITEM`
    </ParamField>

    <ParamField body="claim_state" type="enum">
      Current state of the claim

      Available options: `APPROVED`, `ARCHIVED`, `CLOSED`, `COMMUNICATING`, `DENIED`, `DISMISSED`, `NEW`, `OPEN`, `RESOLVED`, `RESOLVED_BY_BRAND`, `TEMPORARILY_DISMISSED`, `WAITING_FOR_BRAND`, `WAITING_FOR_CUSTOMER`, `WAITING_FOR_OP`
    </ParamField>

    <ParamField body="items" type="array">
      List of items included in the claim

      <Expandable title="Item Object">
        <ParamField body="product_id" type="string">
          Unique identifier for the product
        </ParamField>

        <ParamField body="variant_id" type="string">
          Identifier for the product variant
        </ParamField>

        <ParamField body="sku" type="string">
          Stock keeping unit
        </ParamField>

        <ParamField body="item_id" type="string">
          Unique identifier for the item
        </ParamField>

        <ParamField body="item_name" type="string">
          Name of the item
        </ParamField>

        <ParamField body="quantity" type="integer">
          Number of items claimed
        </ParamField>
      </Expandable>
    </ParamField>
  </Expandable>
</ParamField>
