TTWUSA APIV2

退换货管理

确认退换单

确认退换货处理结果。

POST
生产环境https://ssl.glitzcloud.com/agent/v1/orders/return/confirm
测试环境http://gztest.glitzcloud.com/agent/v1/orders/return/confirm

说明

1、功能名称:确认退换单

2、功能描述:确认退换单

鉴权说明

请参阅鉴权签名说明。

请求参数

名称必填类型示例值描述
store_nameStringThe Warehouse USA仓库名称
order_snString112233参考订单号
itemsString[{"product_sn":"2020016","good_qty":1,"bad_qty":0},{"product_sn":"2020015","good_qty":1,"bad_qty":0}]产品列表,数组json格式,详见 items数据结构

返回字段

名称必填类型示例值描述
product_snStringAmy001产品SKU
good_qtyInteger1好货数量
bad_qtyInteger0坏货数量

示例

请求示例
{
    "apikey": "85082f5f62a811e684f500163e06045f",
    "secretkey": "85082f6862a811e684f500163e06045f",
    "sign": "FFC4953CF3F8EB5AC977E7D9D274E8A1",
    "change_sn": "GCR22030927537",
    "store_name": "TWUSA01",
    "items": [
        {
            "product_sn": "2020016",
            "good_qty": 1,
            "bad_qty": 0
        },
        {
            "product_sn": "2020015",
            "good_qty": 1,
            "bad_qty": 0
        }
    ]
}
返回示例
{
    "status": 200,
    "reqMsg": "ok",
    "result": {
        "change_sn": "GCR22030927537"
    }
}
示例 3
{
    "status": 6666,
    "reqMsg": "退货单当前不能确认",
    "result": []
}