查询创纪云商品库存
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
_platform_num | String | 必须 | 880001 | 租户号 | |
storeId | Number | 可选 | 101797 | 店铺id | |
barcode | String | 可选 | 1234 | 商品条码 | |
barcodes | String [] | 可选 |
|
商品条码数组 | |
businessCode | String | 可选 | 01(线上商品库存) | 业务编码 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
errcode | String | 1001 | 错误码 |
errmsg | String | 操作失败 | 错误信息 |
success | Boolean | true | 是否成功 |
content | Content | 内容 | |
|
{"businessCode":"01(线上商品库存)","_platform_num":"880001","storeId":101797,"barcodes":[""],"barcode":"1234"}
{ "errcode":"1001", "errmsg":"操作失败", "success":true, "content":{ "result":[ { "storeId":1000, "barcode":"231423141", "stock":256000, "itemType":"0" } ] } }
{"errcode":"sign-check-failure","success":"false","errmsg":"Illegal request"}
错误码 | 错误描述 | 解决方案 |
---|