接口文档 / 商品接口
查询门店库存
响应参数
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
data可选 | object | |
rows可选 | array<object> | |
total可选 | integer | |
offset可选 | integer | |
limit可选 | integer | |
keyword可选 | string | |
error可选可为空 | object | |
响应示例
{
"data": {
"rows": [
{
"goodsId": "ffffffff000000003473c049d7ab4004",
"goodsShortId": "Z12312312",
"batchId": 123123,
"pieceNum": 8,
"pharmacyType": 0,
"pharmacyNo": 0,
"expiryDate": "2025-01-17",
"productionDate": "2025-01-17",
"inDate": "2025-01-17 02:36:00",
"batchNo": 100012157,
"packageCostPrice": 10,
"leftCost": 10,
"pieceCount": 10,
"packageCount": 20,
"status": 0,
"stockInOutDetailId": "string"
}
],
"total": 0,
"offset": 0,
"limit": 0,
"keyword": "string"
},
"error": null
}业务失败包装示意
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}