接口 cabinet.shelving.unshelving.cargo
接口说明
自取柜商品上下架
业务参数
参数名称 | 类型 | 是否必须 | 说明 |
---|---|---|---|
cid | string | Y | 自取柜 id |
cargoes | object[] | Y | |
row | int | Y | 行 |
col | int | Y | 列 |
barcode | string | N | 商品barcode,有值表示上架,为空表示下架。 |
defaultPrice | int | N | 默认价格,单位:分 最小且默认为 1 分 |
返回示例
{
"error_code": 0,
"error_msg": "SUCCESS",
"sub_error_code": null,
"sub_error_msg": null,
"data": {
"afterCargoes": [ // 上架成功商品
{
"Row": 1,
"Col": 6,
"BarCode": "956416205956"
}
],
"brandLockCargoes": [ // 因品牌商锁定层数导致上架失败商品
{
"Row": 1,
"Col": 4,
"BarCode": "6902890258827"
},
]
}
}