Retrieve a claim by its ID. You can expand the claim's relations or select the fields that should be returned using the query parameters.
Request Request Example
JavaScript
Shell
Java
Swift
curl--location-g--request GET '{{BASE_URL}}/admin/claims/'
Response Response Example
200 - Example 1
Request
Authorization
or
or
or
Path Params
id
stringÂ
required
The claim's ID.
Query Params
fields
stringÂ
fields
optional
Comma-separated fields that should be included in the returned data. if a field is prefixed with + it will be added to the default fields, using - will remove it from the default fields. without prefix it will replace the entire default fields.
Responses
🟢200OK
application/json
OK
Body
The claim's details.
claim
object (AdminClaim)Â
required
The claim's details.
return
object (AdminReturn)Â
required
The return's details.
order
object (AdminOrder)Â
required
The order's details.
id
stringÂ
id
required
The claim's ID.
order_id
stringÂ
order_id
required
The ID of the order associated with the claim.
claim_items
array[object (BaseClaimItem) {10}]Â
required
The order items targetted by the claim.
additional_items
array[object (BaseClaimItem) {10}]Â
required
The outbound or new items of the claim.
return_id
stringÂ
return_id
optional
The ID of the associated return.
no_notification
booleanÂ
no_notification
optional
Whether the customer should be notified about changes in the claim.
refund_amount
numberÂ
refund_amount
optional
The amount to be refunded.
display_id
numberÂ
display_id
required
The claim's display ID.
shipping_methods
array[object (AdminOrderShippingMethod) {22}]Â
optional
The claim's shipping methods.
metadata
objectÂ
optional
The claim's metadata, used to store custom key-value pairs.
created_at
string <date-time>
created_at
required
The claim's creation date.
updated_at
string <date-time>
updated_at
required
The claim's update date.
order_version
stringÂ
order_version
required
The version of the order when the claim is applied.