文档中心 > API类目 > 天猫供应链

qimen.alibaba.dchain.aoxiang.physics.inventory.batch.query (ERP实仓库存查询)

● 翱象查询ERP实仓库存信息 ● 代表翱象实时查询实仓库存接口 ● 同步查询接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
physicsInventory PhysicsInventory [] 必须
  • 最大列表长度:999999
  • 库存请求入参
    • └ sellerId
    • String
    • 必须
    • sellerId001
    • 卖家ID
    • └ erpWarehouseCode
    • String
    • 必须
    • erpWarehouseCode001
    • 仓库编码,string(50) 卖家下唯一主键
    • └ scItemId
    • String
    • 可选
    • scItemId001
    • ERP货品id,ERP内部系统货品唯一识别标识

    响应参数

    名称 类型 示例值 描述
    bizMessage String success 响应信息
    success Boolean true true|false
    bizCode String 200 响应码
    physicsInventory PhysicsInventory [] 库存信息
    • └ totalQuantity
    • Number
    • 200
    • 仓实际正品库存总数
    • └ erpWarehouseCode
    • String
    • erpWarehouseCode001
    • 仓库编码,string(50) 卖家下唯一主键
    • └ scItemId
    • String
    • scItemId001
    • erp货品id,ERP内部系统货品唯一识别标识
    • └ avaliableQuantity
    • Number
    • 100
    • 仓可用正品库存数量

    请求示例

    {"physicsInventory":[{"sellerId":"sellerId001","erpWarehouseCode":"erpWarehouseCode001","scItemId":"scItemId001"}]}

    响应示例

    {
        "bizMessage":"success",
        "success":true,
        "bizCode":"200",
        "physicsInventory":[
            {
                    "totalQuantity":200,
                    "erpWarehouseCode":"erpWarehouseCode001",
                    "scItemId":"scItemId001",
                    "avaliableQuantity":100
            }
        ]
    }

    验签示例

    {"bizMessage":"Illegal request","success":"false","bizCode":"sign-check-failure"}

    错误码解释

    错误码 错误描述 解决方案

    API工具

    FAQ

    返回
    顶部