List shipping claims
Retrieve a list of shipping protection claims for the authenticated store.
Query Parameters
- sourceOrderId string
The order identifier from the source platform to filter claims by.
- orderId number
The Corso order ID to filter claims 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
shippingClaims object[] required
Array [shippingClaimId number requiredThe Corso ID of the shipping protection claim.
storeId number requiredThe Corso ID of the store that the shipping protection claim belongs to.
status string requiredPossible values: [
Closed_Denied,Closed_Refunded,Closed_Reordered,Closed_Resolved,InProgress,Open]The status of the shipping protection claim.
reason string requiredPossible values: [
Damaged,Lost,Stolen,Wrong_Item,Missing_Item,Quality_Issue,Incorrect_Address,Satisfaction_Guarantee]The reason for the shipping protection claim.
resolutionSummary object
The resolution summary of the claim, consists of what was actually issued when the claim was finalized.
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.
]reorders 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.
]]resolutionMethod stringPossible values: [
Refund,Reorder]The resolution method applied to this claim, if resolved.
source stringPossible values: [
Customer_App,Merchant_App,Retool,Gorgias_Ticket_Widget,Zowie_Inbox_Integration,Gladly_Hero_Integration,Kustomer_App_Integration,Zendesk_App_Integration,Public_API]The source from which the claim was created.
customerEmail stringThe email address of the customer who filed the claim.
order object required
The order associated with the shipping protection claim.
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.
noteFromCustomer stringNotes provided by the customer about the claim.
noteFromMerchant stringNotes added by the merchant about the claim.
shippingAddress object
The shipping address for the claim, when creating a new claim this can be used to provide an address different from the order address.
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.
claimLineItems object[] required
The line items included in this shipping protection claim.
Array [claimLineItemId number requiredThe Corso ID of the shipping protection claim line item.
quantity number requiredThe quantity of items in this claim line item.
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.
]images string[]URLs to images uploaded by the customer for the claim.
currencyCode stringThe currency code for monetary values in the claim.
createdOn date-timeThe date/time when the claim was created.
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.
{
"shippingClaims": [
{
"shippingClaimId": 456789,
"storeId": 123456,
"status": "Open",
"reason": "Lost",
"resolutionSummary": {
"refunds": [],
"reorders": []
},
"resolutionMethod": "Refund",
"source": "Customer_App",
"customerEmail": "[email protected]",
"order": {
"orderId": 18372912,
"sourceOrderId": "842810",
"orderNumber": "string",
"createdOn": "2022-01-01T17:32:28Z",
"orderName": "RDR-12345"
},
"noteFromCustomer": "Package never arrived at my doorstep.",
"noteFromMerchant": "Verified with carrier. Approved for refund.",
"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
},
"claimLineItems": [
{
"claimLineItemId": 123456,
"quantity": 1,
"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"
}
}
],
"images": [
"https://cdn.example.com/claims/img1.jpg",
"https://cdn.example.com/claims/img2.jpg"
],
"currencyCode": "USD",
"createdOn": "2024-01-20T14:45: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).