Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

字段备注类型说明
ids产品id集合string

多个产品id以 ',' 分割,查询定向共享产品时格式为 产品ID|D,

例如客户2定向共享给客户1的产品3,客户1查询的时候格式为3|D。查询多个产品时参数ids=2,3|D

company_id查询对应站点的库存int



返回

Code Block
{
    "data": [
        {
            "live_stock": 10,     //当前库存
            "current_locked_stock": 0,    //占用库存
            "dynamic_warehouse_available_stock": 0,  //动态仓有效库存
            "id": 214569 1  //产品ID
        },
        {
            "live_stock": 5,  //当前库存
            "current_locked_stock": 2,   //占用库存
            "dynamic_warehouse_available_stock": 1,2,   //动态仓有效库存
            "id": 30741
 2       }
    ],
    "success": true,
    "refresh": false,
    "moduleName": "client"
}

可用库存为live_stock - current_locked_stock