简要描述
请求URL
https://POSWEB-UAT.shiseido.cn:8021/openapi/v1/Pos/GetThanksStockCount
请求方式
请求参数
参数名 |
必选 |
类型 |
说明 |
shopcode |
是 |
string |
门店编码 |
thankscd |
是 |
string |
答谢档编号 |
pagesize |
否 |
int |
当页数量 默认:50,上限:100 |
返回参数
参数名 |
类型 |
说明 |
result |
string |
1-成功,0-失败 |
msg |
string |
接口处理返回信息 |
totalcount |
int |
记录总数 |
data |
array |
库存数据 |
data说明
参数名 |
类型 |
说明 |
shopcode |
string |
门店编码 |
prodcode |
string |
答谢档中的产品编码 |
totalstock |
int |
总库存 |
appointmentstock |
int |
锁定库存 |
availablestock |
int |
可用库存 |
请求示例
http://poswebuat.shiseido.cn:8090/openapi/v1/Pos/GetThanksStockCount?shopcode=00100022&thankscd=2022D
返回示例
{
"result": 1,
"msg": "处理成功",
"totalcount": 3,
"data": [
{
"shopCode": "00100022",
"prodCode": "55036",
"appointmentstock": 6,
"totalStock": 67,
"availablestock":61
},
{
"shopCode": "00100022",
"prodCode": "74480147",
"appointmentstock": 13,
"totalStock": 28,
"availablestock":15
},
{
"shopCode": "00100022",
"prodCode": "55037",
"appointmentstock": 22,
"totalStock": 27,
"availablestock":5
}
]
}