地址: http://test.birdsystem.co.uk/client/Container-Product/Get-Product-Stock-Info
只读,获取产品在所有站点的库存
参数
查询参数见操作数据
例如需要查询ID为1的产品库存时,添加URL参数:filter=[{"type":"numeric","comparison":"eq","value":1,"field":"product_id"}]
请求为:http://test.birdsystem.co.uk/client/Container-Product/Get-Product-Stock-Info?filter=[{"type":"numeric","comparison":"eq","value":1,"field":"product_id"}]
返回
{ "total": 3, "data": [ { "product_id": 569, //产品ID "quantity": "280", //库存数量 "company_id": 36, //站点ID "company_site_name": "CN 华南站", //站点名称 "product_client_ref": "47-569" //产品客户sku }, { "product_id": 469174, "quantity": "10", "company_id": 44, "company_site_name": "共享站", "product_client_ref": "AA211" }, { "product_id": 775182, "quantity": "1", "company_id": 36, "company_site_name": "CN 华南站", "product_client_ref": "47-775182" } ], "success": true, "refresh": false, "moduleName": "client" }