List claims
Retrieve a list of claims (returns/exchanges) for the authenticated store.
Query Parameters
- customerEmail string
The email address of the customer to filter claims by.
- externalId string
The external ID of the claim to filter by.
- after string
Cursor for forward pagination. Pass the
endCursorfrom a previous response to fetch the next page. - before string
Cursor for backward pagination. Pass the
startCursorfrom a previous response to fetch the previous page. - first number
Number of items to return when paginating forward (used with
after). Defaults to 50. - last number
Number of items to return when paginating backward (used with
before). - orderBy string
Possible values: [
asc,desc]Sort order for results. Defaults to descending.
- 200
- 400
- 401
- 403
- 429
OK
- application/json
- Schema
- Example (from schema)
Schema
claims object[] required
Array [storeId number requiredThe Corso ID of the store that the claim belongs to.
claimId number requiredThe Corso ID of the claim.
externalId string requiredThe external claim ID, used for customer-facing references.
resolutionSummary object
The resolution summary of the claim, consists of what was actually issued when the claim was finalized.
giftCards object[] required
Array [giftCardId number requiredThe Corso ID of the gift card.
amount currency requiredThe amount of the gift card.
createdOn date-timeThe date/time when the gift card was created.
]refunds object[] required
Array [refundId number requiredThe Corso ID of the refund.
amount currency requiredThe amount of the refund.
createdOn date-timeThe date/time when the refund was created.
]replacementOrders object[] required
Array [orderId numberThe ID of the order in Corso, used to interact with Corso systems.
sourceOrderId string requiredThe order identifier from the source platform. Is unique across the store, and typically across the entire platform used by the merchant.
orderNumber stringThe order number from the source platform, if none is provided. sourceOrderId will be used
createdOn date-timeDate/time when the order was created in Corso systems.
orderName stringCustomer-facing identifier for the order the source platform. Often composed of the store-unique order number plus some modifying prefixes and suffixes.
lineItems object[] required
Array [lineItemId number requiredThe ID of the line item in Corso systems.
sourceLineItemId string requiredThe line item ID (from the source system).
productId stringThe product ID for the line item (from the source system).
variantId stringThe variant ID for the line item (from the source system). For the line item that represents the Corso Green Shipping Product (if purchased on the order), this should match the corresponding variant ID stored by Corso in our system, so that we can identify the order as protected.
sku string requiredThe SKU of product/variant of the line item.
name string requiredThe line item name, typically the value shown to the customer representing the product/variant combination purchased.
quantity number requiredThe quantity purchased for the line item.
imgUrl stringURL of the product image, if available.
]]wasCreatedFromRegistration boolean requiredWhether the claim was created from a registration order.
requestSummary object
A snapshot of the current estimate of what will be issued when the claim is finalized. This represents the pending state of approvals and resolutions. This property does not exist after the claim is finalized, please use Resolution Summary instead.
monetaryTotals object required
giftCard currency requiredThe total amount of gift cards in the request summary.
refund currency requiredThe total amount of refunds set to be approved when the claim is finalized.
approvedLineItems object[] required
The line items set to be approved when the claim is finalized.
Array [claimLineItemId number requiredThe Corso ID of the claim line item.
quantity number requiredThe quantity of items in this claim line item.
amount currency requiredThe issued monetary value of this claim line item in the store currency.
resolutionMethod stringPossible values: [
Refund,Variant_Exchange,Gift_Card,Repair,Replacement_Order,Warranty_Review,Other]The resolution method of the line item, may be different from the requested resolution method if the claim line item value was applied to a replacement order or other deduction.
estimatedAmount currencyThe estimated amount of the line item, accounting for deductions across all line items.
wasZeroedThroughDeduction booleanWhether the line item was zeroed through deduction, applies to claim line items where the amount was applied to a replacement order or other deduction.
]shippingAddress object required
name stringThe name line on an address. Often the name of the customer, or the business name something is shipped to.
firstName stringThe first name for the address.
lastName stringThe last name for the address.
line1 string requiredAddress line 1, generally the street number and name.
line2 stringAddress line 2. Not mandatory, but often used for an apartment or suite number.
city string requiredCity of the Address
stateOrProvinceCode string requiredState or province code, typically 2 characters.
postalCode string requiredPostal Code
countryCode string requiredISO 3166-1 alpha-2 country code
latitude numberLatitude coordinate of the address.
longitude numberLongitude coordinate of the address.
billingAddress object required
name stringThe name line on an address. Often the name of the customer, or the business name something is shipped to.
firstName stringThe first name for the address.
lastName stringThe last name for the address.
line1 string requiredAddress line 1, generally the street number and name.
line2 stringAddress line 2. Not mandatory, but often used for an apartment or suite number.
city string requiredCity of the Address
stateOrProvinceCode string requiredState or province code, typically 2 characters.
postalCode string requiredPostal Code
countryCode string requiredISO 3166-1 alpha-2 country code
latitude numberLatitude coordinate of the address.
longitude numberLongitude coordinate of the address.
currencyCode string requiredThe currency code of the claim.
shipments object[]
The shipments associated with the claim.
Array [shipmentId number requiredThe Corso ID of the shipment.
toAddress object required
name stringThe name line on an address. Often the name of the customer, or the business name something is shipped to.
firstName stringThe first name for the address.
lastName stringThe last name for the address.
line1 string requiredAddress line 1, generally the street number and name.
line2 stringAddress line 2. Not mandatory, but often used for an apartment or suite number.
city string requiredCity of the Address
stateOrProvinceCode string requiredState or province code, typically 2 characters.
postalCode string requiredPostal Code
countryCode string requiredISO 3166-1 alpha-2 country code
latitude numberLatitude coordinate of the address.
longitude numberLongitude coordinate of the address.
fromAddress object required
name stringThe name line on an address. Often the name of the customer, or the business name something is shipped to.
firstName stringThe first name for the address.
lastName stringThe last name for the address.
line1 string requiredAddress line 1, generally the street number and name.
line2 stringAddress line 2. Not mandatory, but often used for an apartment or suite number.
city string requiredCity of the Address
stateOrProvinceCode string requiredState or province code, typically 2 characters.
postalCode string requiredPostal Code
countryCode string requiredISO 3166-1 alpha-2 country code
latitude numberLatitude coordinate of the address.
longitude numberLongitude coordinate of the address.
expiresOn date-timeThe date/time when the shipment expires.
inTransitOn date-timeThe date/time when the shipment was put in transit.
isReturnShipment boolean requiredWhether the shipment is a return shipment.
createdOn date-timeThe date/time when the shipment was created.
qrCodeUrl stringThe URL to retrieve the QR code for the shipment.
labelUrl stringThe URL to retrieve the label for the shipment, if applicable.
packingSlipUrl stringThe URL to retrieve the packing slip for the shipment, if applicable.
method string requiredPossible values: [
Packing_Slip,Label]The method of the shipment.
carrier stringThe carrier of the shipment.
carrierTrackingUrl stringThe URL of the carrier tracking page.
carrierTrackingStatus stringThe status of the carrier tracking.
carrierServiceName stringThe name of the carrier service.
]order object required
orderId numberThe ID of the order in Corso, used to interact with Corso systems.
sourceOrderId string requiredThe order identifier from the source platform. Is unique across the store, and typically across the entire platform used by the merchant.
orderNumber stringThe order number from the source platform, if none is provided. sourceOrderId will be used
createdOn date-timeDate/time when the order was created in Corso systems.
orderName stringCustomer-facing identifier for the order the source platform. Often composed of the store-unique order number plus some modifying prefixes and suffixes.
isInstantExchange boolean requiredWhether this claim is an instant exchange.
claimType string requiredPossible values: [
Warranty,Return]The type of claim.
status string requiredPossible values: [
In_Progress,Ready_For_Review,Completed]The rollup status of the claim.
feeAmountApplied currency requiredThe amount of the fee applied to the claim.
feeName stringThe name of the fee applied to the claim.
exchangeOrderShippingAmountApplied currency requiredThe amount of the shipping applied to the exchange order.
returnShippingAmountApplied currency requiredThe amount of the shipping applied to the return order.
shopNowIncentiveAmountApplied currency requiredThe amount of the shop now incentive applied to the claim.
customerEmail string requiredThe email address of the customer who filed the claim, may be different from the email on the order.
customerName stringThe name of the customer who filed the claim.
tags string[] requiredTags applied to this claim for categorization.
claimLineItems object[] required
The line items included in this claim.
Array [sourceLineItem object required
lineItemId number requiredThe ID of the line item in Corso systems.
sourceLineItemId string requiredThe line item ID (from the source system).
productId stringThe product ID for the line item (from the source system).
variantId stringThe variant ID for the line item (from the source system). For the line item that represents the Corso Green Shipping Product (if purchased on the order), this should match the corresponding variant ID stored by Corso in our system, so that we can identify the order as protected.
sku string requiredThe SKU of product/variant of the line item.
name string requiredThe line item name, typically the value shown to the customer representing the product/variant combination purchased.
quantity number requiredThe quantity purchased for the line item.
imgUrl stringURL of the product image, if available.
claimLineItemId number requiredThe Corso ID of the claim line item.
customFields object[] required
Array [name string requiredThe name of the custom field.
value string requiredThe value of the custom field.
]quantity number requiredThe quantity of items in this claim line item.
variantExchangeLineItem object
The variant exchange line item associated with this claim line item, if applicable.
variantId string requiredThe variant ID of the exchange line item in the source system.
quantity number requiredThe quantity of the exchange line item.
price currency requiredThe price of the exchange line item.
imgUrl stringThe URL of the image of the exchange line item.
sku stringThe SKU of the exchange line item.
title stringThe title of the exchange line item.
options object[]
The options of the exchange line item.
Array [name string requiredThe name of the option.
value string requiredThe value of the option.
]isShopNow boolean requiredWhether this claim line item resulted from a shop now session.
replacementItems object[]
The replacement items associated with this claim line item, if applicable.
Array [variantId string requiredThe variant ID of the exchange line item in the source system.
quantity number requiredThe quantity of the exchange line item.
price currency requiredThe price of the exchange line item.
imgUrl stringThe URL of the image of the exchange line item.
sku stringThe SKU of the exchange line item.
title stringThe title of the exchange line item.
options object[]
The options of the exchange line item.
Array [name string requiredThe name of the option.
value string requiredThe value of the option.
]]amount currency requiredThe issued monetary value of this claim line item in the store currency.
requestedAmount currency requiredThe requested monetary value of this claim line item in the store currency.
reason string requiredThe name of the reason selected for this claim line item.
reasonDetail stringThe name of the reason detail selected for this claim line item, if applicable.
status string requiredPossible values: [
Open,Approved,Denied,Closed,Awaiting_Return,In_Transit,At_Return_Location]The status of the claim line item.
statusDetail string requiredPossible values: [
Final_Sale,Pending_Review,Pending_Additional_Info,Awaiting_Customer_Dropoff_Label_Provided,Awaiting_Customer_Dropoff_Packing_Slip_Provided,In_Transit,Pending_Inspection,Pending_Approval,Variant_Exchange,Gift_Card_Issued,Refunded,Refunded_Partial,Gift_Card_Issued_Partial,Replacement_Order,Repaired,Wrong_Item,Item_Not_Returned,Noncompliant_Return,Not_Covered_Under_Warranty,Pending_Return_Shipment_Creation,Return_Not_Required,Additional_Info_Not_Provided,No_Action_Taken,Item_Credit_Applied_To_Claim]The status detail of the claim line item.
imageUrls string[]The images associated with the claim line item.
requestedResolutionMethod string requiredPossible values: [
Refund,Variant_Exchange,Gift_Card,Repair,Replacement_Order,Warranty_Review,Other]The resolution method requested by the customer for this line item.
resolutionMethod stringPossible values: [
Refund,Variant_Exchange,Gift_Card,Repair,Replacement_Order,Warranty_Review,Other]The actual resolution method applied to this line item, if resolved.
noteFromCustomer stringNotes provided by the customer about the claim line item.
deniedOn date-timeThe date/time when the claim line item was denied.
canceledOn date-timeThe date/time when the claim line item was canceled.
]noteToCustomer stringNotes provided by the merchant about the claim.
createdOn date-timeThe date/time when the claim was created.
updatedOn date-timeThe date/time when the claim was last updated.
finalizedOn date-timeThe date/time when the claim was finalized, if applicable.
]pageInfo object required
Information about the pagination of a list.
hasNextPage boolean requiredWhether there are more items after the last returned item.
hasPreviousPage boolean requiredWhether there are more items before the first returned item.
startCursor string nullable requiredAn opaque cursor pointing to the first item in the current page. Pass as
beforeto paginate backwards.endCursor string nullable requiredAn opaque cursor pointing to the last item in the current page. Pass as
afterto paginate forwards.
{
"claims": [
{
"storeId": 123456,
"claimId": 456789,
"externalId": "1-123-1",
"resolutionSummary": {
"refunds": []
},
"wasCreatedFromRegistration": false,
"requestSummary": {
"monetaryTotals": {
"giftCard": 100,
"refund": 100
},
"approvedLineItems": [
{
"claimLineItemId": 123456,
"quantity": 1,
"amount": 100,
"resolutionMethod": "Refund",
"estimatedAmount": 100,
"wasZeroedThroughDeduction": false
}
]
},
"shippingAddress": {
"name": "Michael Jordan, c/o Chicago Bulls",
"firstName": "John",
"lastName": "Doe",
"line1": "1901 W Madison St",
"line2": "Ste 101",
"city": "Chicago",
"stateOrProvinceCode": "IL",
"postalCode": "60612-2459",
"countryCode": "US",
"latitude": 41.8807,
"longitude": -87.6742
},
"billingAddress": {
"name": "Michael Jordan, c/o Chicago Bulls",
"firstName": "John",
"lastName": "Doe",
"line1": "1901 W Madison St",
"line2": "Ste 101",
"city": "Chicago",
"stateOrProvinceCode": "IL",
"postalCode": "60612-2459",
"countryCode": "US",
"latitude": 41.8807,
"longitude": -87.6742
},
"currencyCode": "USD",
"shipments": [
{
"shipmentId": 123456,
"toAddress": {
"name": "Michael Jordan, c/o Chicago Bulls",
"firstName": "John",
"lastName": "Doe",
"line1": "1901 W Madison St",
"line2": "Ste 101",
"city": "Chicago",
"stateOrProvinceCode": "IL",
"postalCode": "60612-2459",
"countryCode": "US",
"latitude": 41.8807,
"longitude": -87.6742
},
"fromAddress": {
"name": "Michael Jordan, c/o Chicago Bulls",
"firstName": "John",
"lastName": "Doe",
"line1": "1901 W Madison St",
"line2": "Ste 101",
"city": "Chicago",
"stateOrProvinceCode": "IL",
"postalCode": "60612-2459",
"countryCode": "US",
"latitude": 41.8807,
"longitude": -87.6742
},
"expiresOn": "2024-01-20T14:45:00Z",
"inTransitOn": "2024-01-20T14:45:00Z",
"isReturnShipment": true,
"createdOn": "2024-01-20T14:45:00Z",
"qrCodeUrl": "https://cdn.corso.com/img/qr-code.png",
"labelUrl": "https://cdn.corso.com/img/label.png",
"packingSlipUrl": "https://cdn.corso.com/img/packing-slip.pdf",
"method": "Label",
"carrier": "USPS",
"carrierTrackingUrl": "https://www.usps.com/tracking/1234567890",
"carrierTrackingStatus": "In Transit",
"carrierServiceName": "USPS"
}
],
"order": {
"orderId": 18372912,
"sourceOrderId": "842810",
"orderNumber": "string",
"createdOn": "2022-01-01T17:32:28Z",
"orderName": "RDR-12345"
},
"isInstantExchange": false,
"claimType": "Return",
"status": "In_Progress",
"feeAmountApplied": 10,
"feeName": "Handling Fee",
"exchangeOrderShippingAmountApplied": 10,
"returnShippingAmountApplied": 10,
"shopNowIncentiveAmountApplied": 10,
"customerEmail": "[email protected]",
"customerName": "John Doe",
"tags": [
"VIP",
"Urgent"
],
"claimLineItems": [
{
"sourceLineItem": {
"lineItemId": 18372912,
"sourceLineItemId": "990986",
"productId": "pro-33320",
"variantId": "var-4569876332",
"sku": "ITEM-12345",
"name": "Shorts - color: blue, size: small",
"quantity": 1,
"imgUrl": "https://cdn.example.com/products/widget-blue.jpg"
},
"claimLineItemId": 123456,
"customFields": [
{
"name": "Serial Number",
"value": "string"
}
],
"quantity": 1,
"variantExchangeLineItem": {
"variantId": "123456",
"quantity": 1,
"price": 10
},
"isShopNow": false,
"replacementItems": [
{
"variantId": "var-123456",
"quantity": 1,
"price": 10
}
],
"amount": 49.99,
"requestedAmount": 49.99,
"reason": "Wrong Size",
"reasonDetail": "Too Small",
"status": "Open",
"statusDetail": "Pending_Review",
"imageUrls": [
"https://cdn.corso.com/img/corso-gsp-prod-img.png"
],
"requestedResolutionMethod": "Refund",
"resolutionMethod": "Gift_Card",
"noteFromCustomer": "Item was damaged in transit.",
"deniedOn": "2024-01-20T14:45:00Z",
"canceledOn": "2024-01-20T14:45:00Z"
}
],
"noteToCustomer": "Fulfillment issue - tracking not updating.",
"createdOn": "2024-01-20T14:45:00Z",
"updatedOn": "2024-01-21T09:15:00Z",
"finalizedOn": "2024-01-22T16:00:00Z"
}
],
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "eyJpZCI6MTIzNDU2fQ",
"endCursor": "eyJpZCI6Nzg5MDEyfQ"
}
}
Bad Request
Unauthorized
Forbidden
Too Many Requests
Response Headers
RateLimit-Limit integer
The maximum number of requests allowed in the current window.
RateLimit-Remaining integer
The number of requests remaining in the current window.
RateLimit-Reset integer
The number of seconds until the current rate limit window resets.
Retry-After integer
The number of seconds to wait before retrying (only present when rate limited).