换标管理
编辑换标
修改换标单。
生产环境
https://ssl.glitzcloud.com/agent/v1/relabel/relabel/edit测试环境
http://gztest.glitzcloud.com/agent/v1/relabel/relabel/edit说明
1、功能名称:修改换标
2、功能描述:修改一个换表单
请参阅鉴权签名说明。
请求参数
| 名称 | 类型 | 必填 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| order_sn | String | 是 | REL14011600001 | 换标单号 | |
| store_name | String | 否 | TWUSA01 | 仓库名称 | |
| is_take_pictures | Integer | 否 | 0 | 0否1是 | 是否允许拍照 |
| is_allow_shortage | Integer | 否 | 0 | 0否1是 | 是否允许短缺 |
| product | String | 否 | [{'product_sn_old':string,'product_sn_new': string,'amount':int}] | 换标产品 | |
| remark | String | 否 | remark | 小于1000字符 | 备注 |
示例
请求示例
{
"order_sn": "REL14011600001",
"store_name": "TWUSA01",
"is_take_pictures": 0,
"is_allow_shortage": 0,
"product": [
{
"product_sn_old": "old_sku",
"product_sn_new": "new_sku",
"amount": 1
}
],
"remark": "remark"
}返回示例
{
"status": 200,
"reqMsg": "ok",
"result": {}
}示例 3
{
"status": "1501",
"reqMsg": "SKU is compulsory",
"result": []
}