来自 Shopee 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 When calling the "v2.logistics.ship_order" API, what parameters need to be passed for dropoff-type orders?
When calling the "v2.logistics.ship_order" API, what parameters need to be passed for dropoff-type orders?
Before calling the "v2.logistics.ship_order" API, please first call the "v2.logistics.get_shipping_parameter" API. Use the returned values under the "info_needed" field to determine the shipping method for the order (there are three methods: pickup, dropoff, and non-integrated), and include the corresponding information in the request parameters of the "v2.logistics.ship_order" API.
The "v2.logistics.get_shipping_parameter" API returns the following information:
{
"info_needed": {
"dropoff": [
"sender_real_name"
]
},
"dropoff": {
"branch_list": null,
"slug_list": null
}
The "v2.logistics.ship_order" API request should include:
{
"order_sn": "2312134MDWPEGP",
"dropoff": {
"sender_real_name": "Wang Xiaoming"
}
