stable本次发布有变化全部展示
来自 Shopee 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 order_status_push
Get notified immediately on all order status updates. This includes order cancellations that occur before shipping, so that you can take the necessary steps in time.
§2 Overview
Overview
| Field | Value |
|---|---|
| Push code | 3 |
| 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 | 220810QSK8S7BX | Return by default. Shopee's unique identifier for an order. | |
| data.status | string | PROCESSED | Return by default. Enumerated type that defines the current status of the order. | |
| data.completed_scenario | string | NORMAL | To indicate which COMPLETED status order is in.; NORMAL: The order has been completed.; RRAOC: The whole RRAOC (raise return&refund after order completed) progress has been completed. | |
| data.update_time | timestamp | 1660123127 | Return by default. Timestamp that indicates the last time that there was a change in value of order, such as order status changed from 'Paid' to 'Completed'. | |
| shop_id | int | 727720655 | Shopee's unique identifier for a shop. Required param for most APIs. | |
| code | int | 3 | Shopee's unique identifier for a push notification. | |
| timestamp | timestamp | 1660123127 | Timestamp that indicates the message was sent. |
§4 Sample
Sample
{"data":{"items":[],"ordersn":"220810QSK8S7BX","status":"PROCESSED","completed_scenario":"","update_time":1660123127},"shop_id":727720655,"code":3,"timestamp":1660123127}
§5 Update log
Update log
| Date | Change |
|---|---|
| 2023-08-14 | Shopee now support buyer to raise return& refund after order completed, for order_status_push add new field "completed_scenario" to indicate which COMPLETED status order is in. |
| 2022-08-18 | New Push Mechanism |
