Claims
You may find descriptions of endpoints for work with claims bellow.
This is the eshop key you receive during onboarding.
Token you get from calling /users/login
Page number, can be used for pagination
1
Example: 1
items per page
10
Example: 30
Success response
Unauthorized response
POST /v2/claims/filter HTTP/1.1
Host: gw.new.skladon.net
authorization: text
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 194
{
"page": 1,
"items": 30,
"columns": [
"eshopClaimId",
"claimCause",
"status"
],
"sorts": [
{
"column": "eshopClaimId",
"direction": "DESC"
}
],
"filters": [
[
{
"column": "claimCause",
"operator": "eq",
"value": "lost"
}
]
]
}
{
"statusCode": 200,
"message": "text",
"data": {
"data": [
{
"eshopClaimId": "text",
"eshopOrderId": "text",
"description": "text",
"note": "text",
"eshopNote": "text",
"claimCause": "lost",
"claimCauseOthersType": "text",
"files": [
{
"fileName": "invoice.pdf",
"fileType": "invoice",
"fileSize": "text",
"type": "invoice",
"data": "someBase64",
"id": 1
}
]
}
],
"request": {
"page": 1,
"items": 30,
"columns": [
"eshopClaimId",
"claimCause",
"status"
],
"sorts": [
{
"column": "eshopClaimId",
"direction": "DESC"
}
],
"filters": [
[
{
"column": "claimCause",
"operator": "eq",
"value": "lost"
}
]
]
},
"totalCount": 430
}
}
This is the eshop key you receive during onboarding.
Token you get from calling /users/login
Success response
Unauthorized response
Not found response
GET /v2/claims/{eshopClaimId} HTTP/1.1
Host: gw.new.skladon.net
authorization: text
x-api-key: text
Accept: */*
{
"statusCode": 200,
"message": "text",
"data": {
"eshopClaimId": "text",
"eshopOrderId": "text",
"description": "text",
"note": "text",
"eshopNote": "text",
"claimCause": "lost",
"claimCauseOthersType": "text",
"files": [
{
"fileName": "invoice.pdf",
"fileType": "invoice",
"fileSize": "text",
"type": "invoice",
"data": "someBase64",
"id": 1
}
],
"products": [
{
"claimedQuantity": 1,
"sku": "text",
"lineState": "E",
"resendQuantity": 1
}
],
"transportPrice": 2990,
"goodsPrice": 2990,
"totalServicePrice": 2990,
"compensationCurrency": "CZK",
"status": "received"
}
}
This is the eshop key you receive during onboarding.
Token you get from calling /users/login
Note from e-shop that is not shown to the customer
Success response
Unauthorized response
Not found response
Conflict response
POST /v2/claims HTTP/1.1
Host: gw.new.skladon.net
authorization: text
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 326
{
"eshopClaimId": "text",
"eshopOrderId": "text",
"description": "text",
"note": "text",
"eshopNote": "text",
"claimCause": "lost",
"claimCauseOthersType": "text",
"files": [
{
"fileName": "invoice.pdf",
"fileType": "invoice",
"fileSize": "text",
"type": "invoice",
"data": "someBase64"
}
],
"products": [
{
"claimedQuantity": 1,
"sku": "text",
"lineState": "E"
}
]
}
{
"statusCode": 200,
"message": "text",
"data": {
"eshopClaimId": "text",
"eshopOrderId": "text",
"description": "text",
"note": "text",
"eshopNote": "text",
"claimCause": "lost",
"claimCauseOthersType": "text",
"files": [
{
"fileName": "invoice.pdf",
"fileType": "invoice",
"fileSize": "text",
"type": "invoice",
"data": "someBase64",
"id": 1
}
],
"products": [
{
"claimedQuantity": 1,
"sku": "text",
"lineState": "E",
"resendQuantity": 1
}
],
"transportPrice": 2990,
"goodsPrice": 2990,
"totalServicePrice": 2990,
"compensationCurrency": "CZK",
"status": "received"
}
}
This is the eshop key you receive during onboarding.
Token you get from calling /users/login
Note from e-shop that is not shown to the customer
Success response
Unauthorized response
Not found response
PUT /v2/claims/{eshopClaimId} HTTP/1.1
Host: gw.new.skladon.net
authorization: text
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 269
{
"eshopClaimId": "text",
"eshopOrderId": "text",
"description": "text",
"note": "text",
"eshopNote": "text",
"claimCause": "lost",
"claimCauseOthersType": "text",
"files": [
{
"fileName": "invoice.pdf",
"fileType": "invoice",
"fileSize": "text",
"type": "invoice",
"data": "someBase64",
"id": 1
}
]
}
{
"statusCode": 200,
"message": "text",
"data": {
"eshopClaimId": "text",
"eshopOrderId": "text",
"description": "text",
"note": "text",
"eshopNote": "text",
"claimCause": "lost",
"claimCauseOthersType": "text",
"files": [
{
"fileName": "invoice.pdf",
"fileType": "invoice",
"fileSize": "text",
"type": "invoice",
"data": "someBase64",
"id": 1
}
],
"products": [
{
"claimedQuantity": 1,
"sku": "text",
"lineState": "E",
"resendQuantity": 1
}
],
"transportPrice": 2990,
"goodsPrice": 2990,
"totalServicePrice": 2990,
"compensationCurrency": "CZK",
"status": "received"
}
}
Last updated