使用接口调试工具postman
请求描述
温馨提示:
1、查询产品有效库存时,需提供产品ID,举例:("ids":3038199)。
Http请求格式:
POST /client/product/Get-Product-Available-Quantity HTTP/1.1
Host: {{Bird_URL}}
Headres:
api_key: {{api_key}}
company_id: {{company_id}}
Cookie: PHPSESSID=3s3nejv43u9bhirsrvq9nge254
Body
raw
{
"ids":3038199
}
返回结果
{
"data": [
{
"live_stock": 1000,
"current_locked_stock": 0,
"dynamic_warehouse_available_stock": 0,
"id": 3038199
}
],
"success": true,
"refresh": false,
"moduleName": "client"
}