stable本次发布有变化全部展示
来自 Shopee 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 order_trackingno_push
Get notified immediately when order tracking numbers are updated so that you can ship promptly, and avoid having to query the v2.logistics.get_tracking_number API repeatedly. This can be useful when logistics partners take some time to update tracking numbers which may be required on shipping documents.
§2 Overview
Overview
| Field | Value |
|---|---|
| Push code | 4 |
| Timeout (seconds) | 3 |
| Retry strategy (seconds) | 300, 1800, 10800 |
| Guaranteed delivery | No |
§3 Push parameters
Push parameters
| Name | Type | Required | Sample | Description |
|---|---|---|---|---|
| data | object | Main Push message data | ||
| data.ordersn | string | 220809MDBFYFT2 | Shopee's unique identifier for an order. | |
| data.forder_id | string | 4965804244309504855 | Coming offline | |
| data.package_number | string | OFG113701539238152 | Shopee's unique identifier for the package under an order. | |
| data.tracking_no | string | BR222263688572VSPXLM71894 | The tracking number of this order. | |
| shop_id | int | 296363855 | Shopee's unique identifier for a shop. Required param for most APIs. | |
| code | int | 4 | Shopee's unique identifier for a push notification. | |
| timestamp | timestamp | 1660123089 | This is to indicate the timestamp of the request. |
§4 Sample
Sample
{"data":{"ordersn":"220809MDBFYFT2","forder_id":"4965804244309504855","package_number":"OFG113701539238152","tracking_no":"BR222263688572VSPXLM71894"},"shop_id":296363855,"code":4,"timestamp":1660123089}
§5 Update log
Update log
| Date | Change |
|---|---|
| 2022-08-18 | New Push Mechanism |
