Versions Compared

Key

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


接口说明:

...

请求json参数说明:

...

Status
colourRed
title必填

...

返回字段:

...

live_stock

...

current_locked_stock

...

dynamic_warehouse_available_stock

...

id

...

接口请求示例:

...

只读,批量获取产品可用库存

参数

...

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

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

...

返回

Code Block
{
    "data": [
        {
            "live_stock": 551,     //当前库存
            "current_locked_stock": 64,    //占用库存
            "dynamic_warehouse_available_stock": 0,  //动态仓有效库存
            "id": 50631
        },
        {
            "live_stock": 61,  //当前库存
            "current_locked_stock": 18,   //占用库存
            "dynamic_warehouse_available_stock": 0,   //动态仓有效库存
            "id": 2023320
        }
    ],
    "success": true,
    "refresh": false,
    "moduleName": "client"
}

...

Include Page
产品有效库存获取
产品有效库存获取