Lingxing
切换旧版

更新备货单物流信息

POST/erp/sc/routing/owms/inbound/updateLogistics

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/owms/inbound/updateLogisticsHTTPSPOST1

请求参数

overseas_order_nostring必填
海外仓备货单号
logistics_listarray<object>必填
物流信息
隐藏子属性
logistics_order_nostring必填
物流单号
logistics_moneystring必填
预估物流费用
logistics_money_unitstring必填
预估物流费用币种
other_moneystring必填
预估其他费用
other_money_unitstring必填
预估其他费用币种
track_order_nostring必填
追踪号
other_money_remarkstring必填
预估费用备注
real_logistics_moneynumber必填
实际物流费用
real_logistics_money_unitstring必填
实际物流费用币种
real_other_moneynumber必填
实际其他费用
real_other_money_unitstring必填
实际其他费用币种
real_other_money_remarkstring必填
实际其他费用备注
logistics_list_typeinteger必填
物流信息版本:
0:旧版,即将下线
1:新版
head_logistics_listobject必填
新版头程物流信息(当logistics_list_type 为1时才有意义)
隐藏子属性
tax_fee_typeinteger必填
税费分摊方式:
0:产品-计费重
1:产品-实重
2:产品-体积重
3:产品-数量
4:自定义
5:箱子-体积)
tracking_listarray<object>必填
轨迹信息
隐藏子属性
tracking_nostring必填
查询单号
transport_typeinteger必填
运输类型:
1:快递
2:海运
3:空运
4:其他
order_type_codeinteger必填
单号类型:【注意:与运输类型联动关系】
1:订舱号
2:提单号
3:箱号
4:其他
5:跟踪单号
6:航班号
当transport_type=1时只能传5
当transport_type=2时只能传1、2、3、4
当transport_type=3时只能传2、6
shippersstring必填
承运商【运输类型为海运时才有意义】
remarkstring必填
备注
estimate_expenses_listobject必填
费用明细-预估费用
隐藏子属性
chargeable_weightstring
计费重(单位KG),已废弃,同页面功能计费重不支持编辑
pricestring必填
单价
price_currencystring必填
单价币种
logistics_feestring必填
物流费用
logistics_fee_currencystring必填
物流费用币种
remarkstring
备注
other_fee_arrarray<object>必填
预估费用-其他费:
获取发货单头程物流-其他费类型接口获取
隐藏子属性
fee_type_idstring必填
其他费id(20位)
other_amountstring必填
其他费金额
other_currencystring必填
其他费币种
actual_expenses_listobject必填
费用明细-实际费用
隐藏子属性
tax_feestring必填
税费
tax_fee_currencystring必填
税费币种
chargeable_weightstring必填
计费重,已废弃,同页面功能计费重不支持编辑
pricestring必填
单价
price_currencystring必填
单价币种
logistics_feestring必填
物流费用
logistics_fee_currencystring必填
物流费用币种
remarkstring
备注
other_fee_arrarray<object>必填
实际费用-其他费:
获取发货单头程物流-其他费类型接口获取
隐藏子属性
fee_type_idstring必填
其他费id(20位)
other_amountstring必填
其他费金额
other_currencystring必填
其他费币种

请求示例

{
    "overseas_order_no": "OWS230700001",
    "logistics_list": [
        {
            "logistics_order_no": "1233385552",
            "logistics_money": "100",
            "logistics_money_unit": "USD",
            "other_money": "200",
            "other_money_unit": "USD",
            "track_order_no": "526654523",
            "other_money_remark": "this is remark",
            "real_logistics_money": 100,
            "real_logistics_money_unit": "USD",
            "real_other_money": 100,
            "real_other_money_unit": "USD",
            "real_other_money_remark": "remark"
        }
    ],
    "logistics_list_type": 0,
    "head_logistics_list": {
        "tax_fee_type": 1,
        "tracking_list": [{
            "tracking_no": "cxdhxxxxxx123",
            "transport_type": "1",
            "order_type_code": "5",
            "shippers": "coscoxxx",
            "remark": "备注"
        }],
        "estimate_expenses_list": {
            "chargeable_weight": "111.00",
            "price": "1.00",
            "price_currency": "CNY",
            "logistics_fee": "1.00",
            "logistics_fee_currency": "CNY",
            "remark": "预估费用备注",
            "other_fee_arr": [{
                "fee_type_id": "241192037543649792",
                "other_amount": "1.00",
                "other_currency": "CNY"
            }]
        },
        "actual_expenses_list": {
            "tax_fee":"1",
            "tax_fee_currency":"CNY",
            "chargeable_weight": "111.00",
            "price": "111.00",
            "price_currency": "CNY",
            "logistics_fee": "111.00",
            "logistics_fee_currency": "CNY",
            "remark": "实际费用备注",
            "other_fee_arr": [{
                "fee_type_id": "241192037543649792",
                "other_amount": "111.00",
                "other_currency": "CNY"
            }]
        }
    }
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 7E80FC0B-55C1-BAC5-0E4B-7AE59706F051
response_timestring必填
响应时间
示例 2023-07-24 15:12:10
dataarray<any>必填
响应数据
示例 &nbsp;

返回成功示例

{
    "code": 0,
    "message": "success",
    "request_id": "7E80FC0B-55C1-BAC5-0E4B-7AE59706F051",
    "response_time": "2023-07-24 15:12:10",
    "error_details": [],
    "data": []
}