注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 阿里健康&一树-孔雀翎WMS

qimen.alibaba.health.ys.cep.wms.supplier.accounts (阿里健康孔雀翎同步WMS供应商账款)

孔雀翎月末向博大系统同步各门店现有库存数量,博大系统根据各门店库存数量计算相应的供应商账款

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
password String 必须 yxt 分配的密码
wms_id String 必须 4 孔雀翎WMS标识
api String 必须 qimen.alibaba.health.ys.cep.wms.supplier.accounts 调用接口
username String 必须 123456 用户名
data Data [] 必须
  • 最大列表长度:999999
  • 供应商账款明细
    • └ dept_code
    • String
    • 必须
    • 01010241
    • 门店编码
    • └ supply_code
    • String
    • 必须
    • 1001
    • 供应商编码
    • └ goods_code
    • String
    • 必须
    • 17056854
    • 商品编码
    • └ goods_qty
    • Number
    • 必须
    • 2
    • 商品数量
    • └ source_batch_no
    • String
    • 必须
    • ZDBD651165_258
    • 来源批次号
    • └ lot_no
    • String
    • 必须
    • 20210811
    • 批号
    • └ year
    • Number
    • 必须
    • 2022
    • └ month
    • Number
    • 必须
    • 1
    • └ batch_no
    • String
    • 必须
    • ZDBD651165_258
    • 孔雀翎批次号
    • └ tax_price
    • Number
    • 必须
    • 100
    • 含税单价
    • └ history_stock_id
    • Number
    • 必须
    • 1
    • 库存来源ID

    响应参数

    名称 类型 示例值 描述
    success String true 调用是否成功
    err_code String 400 错误代码
    err_message String 参数错误 错误描述

    请求示例

    {"password":"yxt","data":[{"dept_code":"01010241","lot_no":"20210811","batch_no":"ZDBD651165_258","source_batch_no":"ZDBD651165_258","month":1,"year":2022,"goods_code":"17056854","supply_code":"1001","goods_qty":2,"tax_price":100,"history_stock_id":1}],"wms_id":"4","api":"qimen.alibaba.health.ys.cep.wms.supplier.accounts","username":"123456"}

    响应示例

    {
        "success":"true",
        "err_code":"400",
        "err_message":"参数错误"
    }

    验签示例

    {"success":"false","err_code":"sign-check-failure","err_message":"Illegal request"}

    错误码解释

    错误码 错误描述 解决方案

    API工具

    FAQ

    返回
    顶部