无
【业务设计 -- 业务逻辑设计,梳理】
升级51track v3接口,出入参有调整
v3 接口地址:https://www.51tracking.com/v3/api-index#api-version
v2接口地址:https://api.51tracking.com/v2/trackings/batch
v2版本添加轨迹接口 post例子:
请求地址:
https://api.51tracking.com/v2/trackings/batch
请求头:
Content-Type: application/json
Tracking-Api-Key: 80eddf01-2cda-4c6d-9a55-8102c32e67a2
Accept: application/json
请求body:
[
{
"tracking_number": "20220113052816591439",
"carrier_code": "yodel",
"destination_code": "GB",
"title": null,
"logistics_channel": "物流部-英国北安普敦ES1仓-Yodel超大包",
"customer_name": "3088",
"customer_email": null,
"customer_phone": null,
"order_id": "JJD0002249753708285",
"order_create_time": "2022/01/13 00:09:24",
"tracking_ship_date": "20220113",
"tracking_postal_code": "DD2 2AG",
"tracking_account_number": null,
"specialNumberDestination": null,
"lang": null,
"auto_correct": null,
"comment": null
}
]
无
【注意事项 - 编码规范、可能存在Bug、风险和业务关联】
完成后自测,结果更新到任务