Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

地址: http://test.birdsystem.co.uk/client/product/Get-Product-Available-Quantity

只读

获取产品可用库存

参数

字段备注类型
id产品idint(10)


返回

{
    "data":{
        "live_stock":"10", // 当前站点的库存
        "current_locked_stock":"2" // 锁定的库存
        "dynamic_live_stock": 4,// 动态仓站点的库存
        "dynamic_locked_stock": 2, // 动态仓站点锁定的库存
        "frozen_stock": 1 // 动态仓冻结的库存
    },
    "success":true,
    "refresh":false,
    "moduleName":"client"
}

当前站点可用库存为 8.  (10-2)

动态仓站点可用库存为3.(4-2+1)

  • No labels