Lingxing
切换旧版

物流下单 - 编辑运单号/跟踪号

POST/basicOpen/logisticsOrdering/setTrackingNo

接口信息

API Path请求协议请求方式令牌桶容量
/basicOpen/logisticsOrdering/setTrackingNoHTTPSPOST1

请求参数

waybill_nostring必填
运单号
wo_numberstring必填
销售出库单号
tracking_nostring
跟踪号
logistics_freightstring
物流运费
logistics_freight_currency_codestring
物流运费币种:
CNY
USD
EUR
JPY
AUD
CAD
MXN
GBP
INR
AED
SGD
SAR
BRL
SEK
PLN
TRY
HKD
pkg_fee_weightstring
计费重
pkg_fee_weight_unitstring
计费重单位:
g
kg

请求示例

{
   "waybill_no":"xsdsdsds",
   "wo_number":"WO10324795xx93872384",
   "tracking_no":"xsxsxsxs",
   "logistics_freight":"100",
   "logistics_freight_currency_code":"CNY",
   "pkg_fee_weight":"10",
   "pkg_fee_weight_unit":"g"
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 C3D9F541-8083-E376-EB5C-606A872F5C89
response_timestring必填
响应时间
示例 2022-12-08 18:27:13
totalinteger必填
总数
示例 0
dataobject必填
响应数据

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "c7f5ded0c503494980bf9c39f138c594.1703299828218",
    "response_time": "2023-12-23 10:50:29",
    "data": null,
    "total": 0
}

返回失败示例

{
    "code": 500,
    "message": "程序内部错误",
    "error_details": [当前订单不存在或物流状态不是待导入 [请求码:008C66]],
    "request_id": "c7f5ded0c503494980bf9c39f138c594.1703299828218",
    "response_time": "2023-12-23 10:50:29",
    "data": null,
    "total": 0
}