stable本次发布有变化全部展示
来自 Shopee 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 Is it normal for the "v2.logistics.get_shipping_parameter" API to return an empty "dropoff" array?
Is it normal for the "v2.logistics.get_shipping_parameter" API to return an empty "dropoff" array?
It is normal.
Here's an example of calling the "v2.logistics.get_shipping_parameter" API.
Response:
{
"dropoff": {},
"info_needed": {
"dropoff": []
},
"request_id": "0d7bf8dac337b921d326b2faa8c9137c"
}
When the "info_needed" field returns "dropoff": [], it means that you can choose the dropoff method to ship the order. When calling the "v2.logistics.ship_order" API, there is no need to include "sender_real_name" or other parameters in the "dropoff" object.
In this case, the request body for the "v2.logistics.ship_order" API should look like this:
{
"ordersn": "2011262EBP7NDA",
"dropoff": {}
}
