v2.push.get_lost_push_message
GET /api/v2/push/get_lost_push_message
Get the lost push messages that were lost within 3 days of the current time and not confirmed to have been consumed
Endpoint URL
URL: https://partner.shopeemobile.com/api/v2/push/get_lost_push_message
Common Request Parameters
| Name | Type | Sample | Description |
|---|---|---|---|
| partner_id | int | 1 | Partner ID is assigned upon registration is successful. Required for all requests. |
| timestamp | timestamp | 1610000000 | This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes. |
| sign | string | e318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2 | Signature generated by partner_id, api path, timestamp and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2 |
No Request Parameters Set.
Response Parameters
| Name | Type | Sample | Description |
|---|---|---|---|
| error | string | Indicate error type if hit error. Empty if no error happened. | |
| message | string | Indicate error details if hit error. Empty if no error happened. | |
| warning | string | Indicate waring details if hit waring. Empty if no waring happened. | |
| request_id | string | 1f34a2c99335ffe85744d98e07fe7d41 | The identifier for an API request for error tracking. |
| response | object | ||
| push_message_list | object[] | Returns the earliest 100 lost push messages that were lost within 3 days of the current time and not confirmed to have been consumed. | |
| shop_id | int | 727720655 | Shopee's unique identifier for a shop. If it's a partner level push (such as code: 1, 2, 12), shop_id will not be returned. |
| code | int | 3 | Shopee's unique identifier for a push notification. |
| timestamp | timestamp | 1660123127 | Timestamp that indicates the message was lost. |
| data | string | {"data":{"items":[],"ordersn":"220810QSK8S7BX","status":"PROCESSED","completed_scenario":"","update_time":1660123127},"shop_id":727720655,"code":3,"timestamp":1660123127} | Main Push message data. |
| has_next_page | boolean | false | This is to indicate whether the lost push message to be consumed is more than 100. If this value is true, you may need to continue calling to get the remaining lost push messages to be consumed. |
| last_message_id | int | 176610 | Specifies the end entry of data returned in the current call. |