Lingxing
切换旧版

调拨单分批收货

POST/erp/sc/routing/inventoryReceipt/StorageAllocation/partlyReceiveAllocationOrder

支持将系统待收货状态的调拨单部分收货

基本信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/inventoryReceipt/StorageAllocation/partlyReceiveAllocationOrderHTTPSPOST1

请求参数

order_snstring必填
调拨单单号
product_listarray<object>必填
本次收货的调拨单单据明细
隐藏子属性
product_idinteger必填
产品id
seller_idstring
店铺id,不传或者传空则默认为0 ,对应查询亚马逊店铺列表接口对应字段【seller_id】
fnskustring
fnsku,不传则默认为空
received_good_numinteger
本次收货可用收货量,和本次次品收货次品收货量其中一项必填且大于0
received_bad_numinteger
本次收货次品收货量,和本次可用收货次品收货量其中一项必填且大于0

请求示例

{
    "order_sn": "TF240727001",
    "product_list": [
        {
            "product_id": "10089",
            "seller_id": "0",
            "fnsku": "abcdefg",
            "received_good_num": 0,
            "received_bad_num": 0
        }
    ]
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
提示消息
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 C70FD2A7-4E7D-6B32-7D72-FC42587CE97E
response_timestring必填
响应时间
示例 2022-07-29 14:33:42
dataarray<any>必填
返回数据
totalinteger必填
总数
示例 0

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "C70FD2A7-4E7D-6B32-7D72-FC42587CE97E",
    "response_time": "2022-07-29 14:33:42",
    "data": [],
    "total": 0
}