Aftersales service includes APIs that help merchants handle return and warranty requests for their orders.
TERMINOLOGY
The following table defines terminology for this API section:
| No. | Terminology | Explain |
|---|
| 1 | CR | Customer return request: Return order or Warranty products |
Customer return status
| Status | Definition |
|---|
| waiting_for_approve | Chờ duyệt |
| approved | Đã duyệt |
| pickup_successful | Đã lấy hàng từ khách hàng |
| arrived_at_aftersales | Đã về kho Aftersales |
| arrived_at_destination | Đã đến nơi xử lý |
| resolution_in_progress | Đang kiểm tra sản phẩm |
| resolution_approved | Đã duyệt giải pháp xử lý |
| multiple_resolution | Nhiều giải pháp xử lý |
| refunded | Đã hoàn tiền |
| replaced | Đã đổi mới sản phẩm |
| warranted | Đã bảo hành hoàn tất |
| multiple_completion | Đã hoàn thành nhiều giải pháp |
| rejected | Đã từ chối |
| canceled | Đã huỷ |
Resolution type
| Code | Definition |
|---|
| PICKUP_ONLY | Chỉ thu hồi vật lý |
Return reason codes
| Code | Definition |
|---|
| CPN_01 | Sản phẩm lỗi/không hoạt động |
| CPN_08 | Sai mô tả |
| CPN_12 | Không còn nhu cầu |
| CPN_15 | Sản phẩm bể vỡ/trầy xước |
| CPN_20 | Thiếu sản phẩm |
| CPN_26 | Hàng giả/ hàng nhái |
| CPN_105 | Sai sản phẩm |
| CPN_106 | Sản phẩm quá hạn sử dụng/đã qua sử dụng |
| CPN_05 | Khác |
| reason_18 | Giao hộp rỗng |
Cancel reason codes
| Code | Definition |
| cr_cancel_reason_1 | Khách hàng không còn nhu cầu đổi, trả, bảo hành |
| cr_cancel_reason_2 | Sản phẩm thuộc danh mục hạn chế đổi trả |
| cr_cancel_reason_3 | Thao tác sai |
| cr_cancel_reason_4 | Quá thời hạn Đổi/Trả |
| broken_product | Sản phẩm bể vỡ toàn bộ – không cần thu hồi |
| customer_deny | Khách hàng không còn nhu cầu thu hồi |
| customer_return_already | Khách hàng đã gửi hàng về ở Phiên thu hồi khác |
HTTP Status
| Code | Definition |
|---|
| 200 | OK |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
Response error codes
| Code | Definition |
|---|
| ERROR_CUSTOMER_RETURN_NOT_ALLOW_CANCEL | CR was not allowed to cancel |
| ERROR_INVALID_FIELD | Invalid Params |
| ERROR_NOT_FOUND | Object was not found |
Was this article helpful to you?
Yes
No