快工助手跨境电商知识与商机助手

open_api_authorization_expiry

Shopee 官方资料 · Shopee Open Platform 推送机制(Push Mechanism) · 适合开发者

stable本次发布有变化全部展示

来自 Shopee 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
Shopee / profile.shopee.push_mechanism
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/shopeeaudience/developercategory/api_doctopic/apitopic/developertopic/pushtopic/shopee-push

资料正文

§1 open_api_authorization_expiry

Push shops, merchants, and users whose authorization expires within a week.

#

§2 Overview

Overview

FieldValue
Push code12
Timeout (seconds)3
Retry strategy (seconds)300, 1800, 10800
Guaranteed deliveryNo
#

§3 Push parameters

Push parameters

NameTypeRequiredSampleDescription
codeint3212Shopee's unique identifier for a push notification
timestamptimestamp1568606634Timestamp that indicates the message was sent.
dataobject[]
data.merchant_expire_soonint64[][123123,123123,4342,3242342]The merchant id of the merchants whose authorization expires within one week.
data.shop_expire_soonint64[][23213,243242,342343,42342345656,45345]The shop id of the shops whose authorization expires within one week.
data.user_expire_soonint64[][368765104, 368765105, 368765106]The user_id of the users whose authorization expires within one week.
data.expire_beforetimestamp1619740800The expiration time of pushed merchants and shops is before this time
data.page_noint321
data.total_pageint322
#

§4 Sample

Sample

{
    "code": 12,
    "timestamp": 1568606634,
    "data": {
        "merchant_expire_soon":[123123,123123,4342,3242342],
        "shop_expire_soon": [23213,243242,342343,42342345656,45345],
        "user_expire_soon": [368765104,368765105,368765106],
        "expire_before": 1619740800, 
        "page_no":1,
        "total_page": 2 
    }
}
#

§5 Update log

Update log

DateChange
2022-08-18New Push Mechanism
#