接口 operators.depot.create.inventory.order

接口说明

创建盘点单

业务参数

参数名称 类型 是否必须 说明
DepotID string N 仓库 ID, 与补货员 ID 互斥
AccountID string N 补货员 ID,与仓库 ID 互斥
ProductList array Y 商品列表
Remarks string N 备注

请求示例

{
    "DepotID": "5db266d87bd4810010954b10",
    "ProductList": [{
        "BarCode": "6925303723910",
        "Qty": 4970
    }, {
        "BarCode": "6902538004045",
        "Qty": 4960
    },],
    "Remarks": "testestsetsetremarkssss000000"
}

{
    "AccountID": "5db266d87bd4810010954b10",
    "ProductList": [{
        "BarCode": "6925303723910",
        "Qty": 4970
    }, {
        "BarCode": "6902538004045",
        "Qty": 4960
    },],
    "Remarks": "testestsetsetremarkssss000000"
}

返回示例

{
    "error_code": 0,
    "error_msg": "SUCCESS",
    "data":{
        "ReceiptNo": "PD21012513180458583"
    }
}

错误代码

error_msg 描述
ERR_PARAMS_DEPOT_ID 仓库和补货员 ID 不可同时传入
MISSING_PARAMS_DEPOT_ID 仓库和补货员 ID 要传其一
MISSING_PARAMS_PRODUCT_LIST 缺少商品
MISSING_PARAMS_PRODUCT_LIST.BarCode 缺少商品 BarCode
MISSING_PARAMS_PRODUCT_LIST.Qty 缺少商品数量
Copyright © YoPoint.com 2019 all right reserved,powered by Gitbook该文件修订时间: 2024-01-04 16:21:22

results matching ""

    No results matching ""