如有对接问题或者建议请及时联系我们
状态码 | 描述 |
---|---|
R502 | 退货单不存在 |
{
"returnNumber": "RET00014"
}
curl --location --request POST 'https://test-api-oms.sueytong.com/api/openApi/return/detail' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"returnNumber": "RET00014"
}'
{
"status": "0",
"message": "请求成功",
"debug": null,
"data": {
"returnNumber": "RET00014",
"customerOrderNumber": "",
"status": 60,
"trackingNumber": "71220000929141",
"returnReason": "anim laboris minim",
"checkRemark": "",
"checkImages": [
""
],
"checkTime": "2025-06-15 13:42:57",
"signTime": "2025-06-15 13:03:52",
"finishTime": "2025-06-15 14:11:05",
"warehouseCode": "SY-ID001",
"createTime": "2025-06-15 12:41:13",
"updateTime": "2025-06-15 14:11:08",
"returnDetails": [
{
"quantity": 10,
"customerSku": "test000001"
},
{
"quantity": 10,
"customerSku": "test000002"
}
],
"returnCheckDetails": [
{
"customerSku": "test000001",
"goodQuantity": 9,
"abnormalQuantity": 1,
"shiftNum": 9,
"badShiftNum": 1,
"shiftQualityBatch": [
{
"quantity": 4,
"quality": "GENUINE",
"batchNumber": "",
"expiryDate": "",
"productionDate": "",
"bomVersion": ""
},
{
"quantity": 5,
"quality": "GENUINE",
"batchNumber": "ttestpc000001",
"expiryDate": "2029-03-31",
"productionDate": "2025-04-01",
"bomVersion": ""
},
{
"quantity": 1,
"quality": "BL",
"batchNumber": "ttestpc000001",
"expiryDate": "2029-03-31",
"productionDate": "2025-04-01",
"bomVersion": ""
}
]
},
{
"customerSku": "test000002",
"goodQuantity": 0,
"abnormalQuantity": 10,
"shiftNum": 0,
"badShiftNum": 10,
"shiftQualityBatch": [
{
"quantity": 5,
"quality": "BL",
"batchNumber": "testpc000003",
"expiryDate": "2029-03-31",
"productionDate": "2025-04-01",
"bomVersion": ""
},
{
"quantity": 4,
"quality": "BL",
"batchNumber": "testpc000004",
"expiryDate": "2029-03-31",
"productionDate": "2025-04-01",
"bomVersion": ""
},
{
"quantity": 1,
"quality": "HOLD",
"batchNumber": "testpc000003",
"expiryDate": "2029-03-31",
"productionDate": "2025-04-01",
"bomVersion": ""
}
]
}
]
}
}