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.
{
"id": "aa58a883-1e6f-4ec1-aa06-556908167f46",
"topic": "claim.denied",
"created_at": "2024-03-20T10:00:00Z",
"body": {
"claim_id": "cm6v2zdt10002j20vqs7f74hc",
"order_id": "order-1",
"source_order_id": "100",
"resolutions": [
{
"type": "NOT_COVERED",
"details": {
"items": [
{
"product_id": "prod001",
"variant_id": "var001",
"sku": "sku001",
"item_id": "item001",
"item_name": "Wireless Mouse",
"price": 30.0,
"discount": 5.0,
"tax": 2.0,
"resolution_percentage": 80,
"resolution_flat_amount": null,
"quantity": 1
}
],
"shipping_amount": 0.0,
"shipping_amount_tax": 0.0,
"total_refund_amount": 0.0,
"currency": "USD"
}
}
]
}
}
This webhook is triggered when a claim is denied.
Request Body
The webhook will send a JSON payload with the following structure:
Properties
Unique identifier for the webhook event
ISO 8601 timestamp of when the webhook was created
The webhook payload
Unique identifier for the claim
Unique identifier for the order within Order Protection
Unique identifier for the order within your system
List of resolution actions taken
Type of resolution.Available options: ADDRESS_TYPO, CUSTOMER_RESPONDED, EXPIRED30, FOLLOW_UP, INSUFFICIENT_SHIPPER, NOT_COVERED, NO_RESPONSE, OTHER, PACKAGE_ARRIVED, PHOTO_VERIFIED, THRESHOLD_REACHED, ALREADY_REFUNDED, ALREADY_REPLACED, POTENTIAL_FRAUD
Details of the resolution
List of items involved in the resolution
Unique identifier for the product
Identifier for the product variant
Unique identifier for the item
Original price of the item prior to discounts and taxes
Percentage of refund/credit (if applicable)
Fixed amount for refund/credit. If FLAT_RATE isn’t the resolution type, this will be null
Amount related to shipping
Tax amount related to shipping
Total amount of the refund