«
body: { "name": "string", "description": "string", "relatedOrder": "string", "reasonCode": "string", "solutionCode": "string", "suggest": "string", "ticketType": "string", "claimProductCommands": [ { "relatedProduct": "string", "notReceived": 0, "numbersFaultyProduct": 0 } ], "imageIds": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ] }
| Mã | Lý do | Loại |
|---|---|---|
| exchange_or_return | Đổi, trả hàng | ORDER |
| faulty_product | Giao hàng sai, lỗi, hỏng | ORDER_PRODUCT |
| long_time_no_received | Lâu chưa nhận hàng | ORDER |
| not_received | Giao thiếu hàng | ORDER_PRODUCT |
| other | Lý do khác | ORDER |
| Mã | Phương án |
|---|---|
| compensate | Bồi thường |
| return | Đổi trả |
| redelivery | Giao bù |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
{
"ticketType": "order",
"name": "Khiếu nại cho đơn ${DH_01}",
"relatedOrder": "${DH_01}",
"reasonCode": "${long_time_no_received}",
"solutionCode": "${redelivery}"
}{
"title": "Bad Request",
"detail": "Required header 'X-Tenant' is not present.",
}| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | <tenant> |
|---|
{
"ticketType": "order",
"name": "Khiếu nại cho đơn ${DH_01}",
"relatedOrder": "${DH_01}",
"reasonCode": "${long_time_no_received}",
"solutionCode": "${redelivery}"
}{
"title": "not_found_connection_config"
}| tenant | |
|---|---|
| abc |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại cho đơn ${DH_01}",
"relatedOrder": "${DH_01}",
"reasonCode": "${long_time_no_received}",
"solutionCode": "${redelivery}"
}| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại cho đơn ${DH_01}",
"relatedOrder": "${DH_01}",
"reasonCode": "${long_time_no_received}",
"solutionCode": "${redelivery}"
}| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại cho đơn ${DH_01}",
"relatedOrder": "not_exist",
"reasonCode": "${long_time_no_received}",
"solutionCode": "${redelivery}"
}{
"title": "order_not_found"
}| Mã đơn | Trạng thái |
|---|---|
| DH_01 | <status> |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại cho đơn ${DH_01}",
"relatedOrder": "${DH_01}",
"reasonCode": "${long_time_no_received}",
"solutionCode": "${redelivery}"
}{
"title": "order_not_found"
}| status | |
|---|---|
| Chờ đặt cọc | |
| Hủy bỏ |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"relatedOrder": "${DH_01}",
"reasonCode": "${other}",
<bodyJson>
"name": "Khiếu nại cho đơn ${DH_01}"
}{
"title": "<title>"
}| title | bodyJson | |
|---|---|---|
| solution_must_not_be_null | "solutionCode": "","description": "thích", | |
| solution_must_not_be_null | "description": "thích", | |
| solution_must_not_be_null | "solutionCode": null,"description": "thích", | |
| description_must_not_be_null | "solutionCode":"${redelivery}", | |
| description_must_not_be_null | "solutionCode":"${redelivery}","description": null, |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại cho đơn ${DH_01}",
"relatedOrder": "${DH_01}",
"reasonCode": "${<reasonCode>}"
<jsonBody>
}{
"title": "<title>"
}| reasonCode | jsonBody | title | |
|---|---|---|---|
| long_time_no_received | , "solutionCode": "" | solution_must_not_be_null | |
| long_time_no_received | , "solutionCode": null | solution_must_not_be_null | |
| long_time_no_received | solution_must_not_be_null | ||
| exchange_or_return | , "solutionCode": "" | solution_must_not_be_null | |
| exchange_or_return | , "solutionCode": null | solution_must_not_be_null | |
| exchange_or_return | solution_must_not_be_null | ||
| not_received | , "solutionCode": "" | solution_must_not_be_null | |
| not_received | , "solutionCode": null | solution_must_not_be_null | |
| not_received | solution_must_not_be_null |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId01 | 3 | 3 | 1 |
| merchant_01 | product_02 | skuId_02 | skusId02 | 3 | 3 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| Mã sản phẩm | skuId |
|---|---|
| DH_0101 | skuId_01 |
| DH_0102 | skuId_02 |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại cho đơn ${DH_01}",
"relatedOrder": "${DH_01}",
"reasonCode": "${faulty_product}",
"claimProductCommands": [{"relatedProduct": "${DH_0101}","notReceived": 0,"numbersFaultyProduct": 1}],
<jsonBody>
}{
"title": "<title>"
}| jsonBody | title | |
|---|---|---|
| "imageIds": ["${imageError}"] | solution_must_not_be_null | |
| "solutionCode": "","imageIds": ["${imageError}"] | solution_must_not_be_null | |
| "solutionCode": null,"imageIds": ["${imageError}"] | solution_must_not_be_null | |
| "solutionCode": "${redelivery}","imageIds": null | files_must_be_uploaded | |
| "solutionCode": "${redelivery}" | files_must_be_uploaded |
số tiền bồi thường không hợp lệ
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại cho đơn ${DH_01}",
"relatedOrder": "${DH_01}",
<jsonBody>
"reasonCode": "${long_time_no_received}",
"solutionCode": "${compensate}"
}{
"title": "<title>"
}| jsonBody | title | status | |
|---|---|---|---|
| suggest_must_not_be_null | 400 | ||
| "suggest" : null , | suggest_must_not_be_null | 400 | |
| "suggest" : "abc", | Internal Server Error | 500 | |
| "suggest" : -1, | suggest_not_allow | 400 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId01 | 3 | 3 | 1 |
| merchant_01 | product_02 | skuId_02 | skusId02 | 3 | 3 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | <status> |
| Mã sản phẩm | skuId |
|---|---|
| DH_0101 | skuId_01 |
| DH_0102 | skuId_02 |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại đơn ${DH_01}",
"description": <description>,
"relatedOrder": "${DH_01}",
"reasonCode": "faulty_product",
"solutionCode": "<solutionCode>",
<suggest>
"claimProductCommands": <claimProductCommands> ,
"imageIds": ["${imageError}"]
}{
"description": <description>,
"relatedOrder": "${DH_01}",
"reasonCode": "faulty_product",
"notReceived": null,
"solutionCode": "<solutionCode>",
"suggest": <amountSuggest>,
"state": "NEW",
"numbersFaultyProduct": <numbersFaulty>,
"claimProductViews": <claimProductCommands>
}| status | description | solutionCode | suggest | amountSuggest | numbersFaulty | claimProductCommands | |
|---|---|---|---|---|---|---|---|
| Chờ xử lý | "thích" | compensate | "suggest": 1, | 1 | 5 | [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 3}, {"relatedProduct": "${DH_0102}","notReceived": null,"numbersFaultyProduct": 2}] | |
| Chờ giao hàng | "" | return | null | 1 | [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 1}] | ||
| Vận chuyển quốc tế | null | redelivery | null | 1 | [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 1}] | ||
| Đang giao hàng | "" | compensate | "suggest": 0.5, | 0.5 | 3 | [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 1}, {"relatedProduct": "${DH_0102}","notReceived": null,"numbersFaultyProduct": 2}] | |
| Đã nhận hàng | "" | redelivery | null | 1 | [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 1}] | ||
| Đã hoàn tiền | "" | redelivery | null | 1 | [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 1}] |
| merchantId | productId | skuId | skusId | quantity | order_quantity |
|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId01 | 3 | 3 |
| merchant_01 | product_02 | skuId_02 | skusId02 | 3 | 3 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| Mã sản phẩm | skuId |
|---|---|
| DH_0101 | skuId_01 |
| DH_0102 | skuId_02 |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại",
"description": "thích",
"relatedOrder": "${DH_01}",
"reasonCode": "faulty_product",
"solutionCode": "${redelivery}" ,
"claimProductCommands": <claimProductCommands>,
"imageIds": ["${imageError}"]
}{
"title": "<title>",
}| claimProductCommands | title | |
|---|---|---|
| [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": -1}] | exceed_allowed_quantity | |
| [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 0}] | exceed_allowed_quantity | |
| [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": 1}] | not_received_must_be_null | |
| [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 4}, {"relatedProduct": "${DH_0102}","notReceived": null,"numbersFaultyProduct": 2}] | invalid_numbers_faulty_product_quantity |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId01 | 3 | 3 | 1 |
| merchant_01 | product_02 | skuId_02 | skusId02 | 3 | 3 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | <status> |
| Mã sản phẩm | skuId |
|---|---|
| DH_0101 | skuId_01 |
| DH_0102 | skuId_02 |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại đơn ${DH_01}",
"description": <description>,
"relatedOrder": "${DH_01}",
"reasonCode": "not_received",
"solutionCode": "<solutionCode>",
<suggest>
"claimProductCommands": <claimProductCommands>
} {
"description": <description>,
"relatedOrder": "${DH_01}",
"reasonCode": "not_received",
"notReceived": <notReceived>,
"solutionCode": "<solutionCode>",
"suggest": <amountSuggest>,
"state": "NEW",
"numbersFaultyProduct": null,
"claimProductViews": <claimProductCommands>
}| status | description | solutionCode | suggest | amountSuggest | notReceived | claimProductCommands | |
|---|---|---|---|---|---|---|---|
| Chờ xử lý | "thích" | compensate | "suggest": 1, | 1 | 3 | [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}, {"relatedProduct": "${DH_0102}","notReceived": 2,"numbersFaultyProduct": null}] | |
| Chờ giao hàng | "" | return | null | 1 | [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}] | ||
| Vận chuyển quốc tế | null | redelivery | null | 1 | [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}] | ||
| Đang giao hàng | "" | compensate | "suggest": 0.5, | 0.5 | 4 | [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}, {"relatedProduct": "${DH_0102}","notReceived": 3,"numbersFaultyProduct": null}] | |
| Đã nhận hàng | "" | redelivery | null | 1 | [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}] | ||
| Đã hoàn tiền | "" | redelivery | null | 1 | [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}] |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId01 | 3 | 3 | 1 |
| merchant_01 | product_02 | skuId_02 | skusId02 | 3 | 3 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| Mã sản phẩm | skuId |
|---|---|
| DH_0101 | skuId_01 |
| DH_0102 | skuId_02 |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại đơn ${DH_01}",
"relatedOrder": "${DH_01}",
"reasonCode": "not_received",
"solutionCode": "${redelivery}",
"claimProductCommands": <claimProductCommands>
} {
"title": "<title>",
}| claimProductCommands | title | |
|---|---|---|
| [{"relatedProduct": "${DH_0101}","notReceived": -1,"numbersFaultyProduct": null}] | exceed_allowed_quantity | |
| [{"relatedProduct": "${DH_0101}","notReceived": 0,"numbersFaultyProduct": null}] | exceed_allowed_quantity | |
| [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": 1}] | numbers_faulty_product_must_be_null | |
| [{"relatedProduct": "${DH_0101}","notReceived": 4,"numbersFaultyProduct": null}, {"relatedProduct": "${DH_0102}","notReceived": 1,"numbersFaultyProduct": null}] | invalid_not_received_quantity |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại",
"description": "thích",
"relatedOrder": "${DH_01}",
"reasonCode": "<reasonCode>",
"solutionCode": "${redelivery}",
<claimProductCommands>
"imageIds": ["${imageError}"]
} {
"title": "claim_product_must_not_be_null",
}| reasonCode | claimProductCommands | |
|---|---|---|
| not_received | "claimProductCommands": [], | |
| not_received | "claimProductCommands": null, | |
| not_received | ||
| faulty_product | "claimProductCommands": [], | |
| faulty_product | "claimProductCommands": null, | |
| faulty_product |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId01 | 3 | 3 | 1 |
| merchant_01 | product_02 | skuId_02 | skusId02 | 3 | 3 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| Mã sản phẩm | skuId |
|---|---|
| DH_0101 | skuId_01 |
| DH_0102 | skuId_02 |
| Mã đơn | Trạng thái |
|---|---|
| DH_02 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại",
"description": "thích",
"relatedOrder": "<relatedOrder>",
"reasonCode": "<reasonCode>",
"solutionCode": "${redelivery}",
"claimProductCommands": <claimProductCommands>,
"imageIds": ["${imageError}"]
}{
"title": "product_not_found"
}| relatedOrder | reasonCode | claimProductCommands | |
|---|---|---|---|
| ${DH_01} | not_received | [{"relatedProduct": "not_exist","notReceived": 1,"numbersFaultyProduct": null}, {"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}] | |
| ${DH_02} | faulty_product | [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 1}] |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId01 | 3 | 3 | 1 |
| merchant_01 | product_02 | skuId_02 | skusId02 | 3 | 3 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| Mã sản phẩm | skuId |
|---|---|
| DH_0101 | skuId_01 |
| DH_0102 | skuId_02 |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại",
"description": "thích",
"relatedOrder": "${DH_01}",
"reasonCode": "<reasonCode>",
"solutionCode": "<solutionCode>",
"claimProductCommands": <claimProductCommands>,
"imageIds": ["${imageError}"]
}{
"title": "<title>"
}| reasonCode | claimProductCommands | solutionCode | title | |
|---|---|---|---|---|
| not_received | [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}] | not_exist | solution_not_found | |
| exchange_or_return | null | not_exist | solution_not_found | |
| long_time_no_received | null | not_exist | solution_not_found | |
| faulty_product | [{"relatedProduct": "${DH_0101}","notReceived": null,"numbersFaultyProduct": 1}] | not_exist | solution_not_found | |
| other | null | not_exist | solution_not_found | |
| not_exist | null | redelivery | reason_not_found |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại",
"description": <description>,
"relatedOrder": "${DH_01}",
"reasonCode": "<reasonCode>",
"solutionCode": "<solutionCode>",
"imageIds": <imageId>,
<suggest>
"claimProductCommands": <claimProductCommands>
}{
"description": <description>,
"relatedOrder": "${DH_01}",
"reasonCode": "<reasonCode>",
"notReceived": null,
"solutionCode": "<solutionCode>",
"suggest": <amountSuggest>,
"state": "NEW",
"numbersFaultyProduct": null,
"claimProductViews": <responseProduct>
}| description | reasonCode | solutionCode | suggest | amountSuggest | claimProductCommands | responseProduct | imageId | |
|---|---|---|---|---|---|---|---|---|
| "thích" | other | compensate | "suggest": 1, | 1 | null | [] | null | |
| null | long_time_no_received | return | null | [] | [] | ["${imageError}"] | ||
| "thích" | exchange_or_return | redelivery | null | null | [] | null |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId01 | 3 | 3 | 1 |
| merchant_01 | product_02 | skuId_02 | skusId02 | 3 | 3 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| Mã sản phẩm | skuId |
|---|---|
| DH_0101 | skuId_01 |
| DH_0102 | skuId_02 |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại đơn ${DH_01}",
"description": "thích thì tạo",
"relatedOrder": "${DH_01}",
"reasonCode": "<reasonCode>",
"solutionCode": "redelivery",
"claimProductCommands": [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}]
}{
"title": "<title>"
}| reasonCode | title | |
|---|---|---|
| ${other} | reason_not_found | |
| ${long_time_no_received} | reason_not_found | |
| ${exchange_or_return} | reason_not_found |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId01 | 3 | 3 | 1 |
| merchant_01 | product_02 | skuId_02 | skusId02 | 3 | 3 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| Mã khiếu nại | Mã đơn | Lý do khiếu nại | Loại khiếu nại | Phương án xử lý | Số tiền bồi thường |
|---|---|---|---|---|---|
| KN001 | DH_01 | Lâu chưa nhận hàng | ORDER | Bồi thường | 1 |
| Mã sản phẩm | skuId |
|---|---|
| DH_0101 | skuId_01 |
| DH_0102 | skuId_02 |
| X-Tenant | m26 |
|---|
{
"ticketType": "order",
"name": "Khiếu nại đơn ${DH_01}",
"description": "thích thì tạo",
"relatedOrder": "${DH_01}",
"reasonCode": "not_received",
"solutionCode": "redelivery",
"claimProductCommands": [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}]
} {
"description": "thích thì tạo",
"relatedOrder": "${DH_01}",
"reasonCode": "not_received",
"notReceived": 1,
"solutionCode": "redelivery",
"suggest": null,
"state": "NEW",
"numbersFaultyProduct": null,
"claimProductViews": [{"relatedProduct": "${DH_0101}","notReceived": 1,"numbersFaultyProduct": null}]
}