Get a claim

get
/claims/{id}

Get a claim by ID.

id
string
required

claim id

OK

meta
Meta
required

Meta data object.

Example:
{"code":20000,"type":"OK","message":"The request was successfully processed by AfterShip."}
code
number
required
Allowed values:
2000020100404004220050000
Default:
20000
type
string
required
>= 1 characters
message
string
required
>= 1 characters
errors
array[Error]

Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.

data
Claim
required
id
string

claim id

>= 1 characters
number
string

claim number from insurance supplier

>= 1 characters
Example:
412-231-231
coverage_id
string

coverage id that this claim is associated with

>= 1 characters
status
string

claim status

>= 1 characters
Allowed values:
unsubmittedsubmittedunder_reviewapprovedpaidcloseddeniedwaiting_on_documents
resolve_status
string

resolve status of the claim

>= 1 characters
Allowed values:
precheckto_be_resolveddeniedresolved
resolved_resolution_method
string

resolution method selected for the claim

Allowed values:
refund_to_original_payment_methodrefund_to_store_creditreship_the_same_itemsother
resolved_resolution_detail
string

details on resolution method when resolved_resolution_method is 'other'

customer_resolution_method
string

resolution method expected by the customer

Allowed values:
refund_to_original_payment_methodrefund_to_store_creditreship_the_same_itemsother
customer_resolution_detail
string

details on resolution method expected by the customer when customer_resolution_method is 'other'

created_at
string

created time in ISO8601 format

>= 1 characters
Example:
2023-03-13T08:16:40.207Z
Match pattern:
^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$
updated_at
string

updated time in ISO8601 format

>= 1 characters
Example:
2023-08-15T03:40:12.628Z
Match pattern:
^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$
issue_type
string

type of issue for the claim

Allowed values:
lost_in_transitporch_pirateddamaged
issue_desc
string

description of the issue

issue_commodity
string

the category of the claimed items

claim_items
array[Order Item]

items being claimed

claim_items_amount
Amount
shipping_amount
Amount
claim_submit_amount
Amount
uploaded_documents
array[object]

supporting documents

required_document_types
array[string]

types of documents required for the claim approval process

claim_payment_amount
Amount
paid_at
string

time payment was made for the claim in ISO8601 formatShow all...

>= 1 characters
Match pattern:
^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$
Auth
:
Parameters
:
Response Example
{ "meta": { "code": 20000, "type": "OK", "message": "The request was successfully processed by AfterShip." }, "data": { "id": "string", "number": "412-231-231", "coverage_id": "string", "status": "unsubmitted", "resolve_status": "precheck", "resolved_resolution_method": "refund_to_original_payment_method", "resolved_resolution_detail": "string", "customer_resolution_method": "refund_to_original_payment_method", "customer_resolution_detail": "string", "created_at": "2023-03-13T08:16:40.207Z", "updated_at": "2023-08-15T03:40:12.628Z", "issue_type": "lost_in_transit", "issue_desc": "string", "issue_commodity": "string", "claim_items": [ { "source_id": "string", "title": "string", "quantity": 0, "unit_insured_amount": { "amount": "12.34", "currency": "USD" }, "sku": "string", "image_urls": [ "string" ] } ], "claim_items_amount": { "amount": "12.34", "currency": "USD" }, "shipping_amount": { "amount": "12.34", "currency": "USD" }, "claim_submit_amount": { "amount": "12.34", "currency": "USD" }, "uploaded_documents": [ { "file_name": "string", "created_at": "string", "url": "string", "url_expired_at": "string" } ], "required_document_types": [ "string" ], "claim_payment_amount": { "amount": "12.34", "currency": "USD" }, "paid_at": "string" } }