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

shop_authorization_canceled_push

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 shop_authorization_canceled_push

This push allows you to be notified once shops or merchants or users are deauthorized to your app

#

§2 Overview

Overview

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

§3 Push parameters

Push parameters

NameTypeRequiredSampleDescription
partner_idint64200000Shopee's unique identifier for your App. Partner ID is assigned upon registration is successful.
codeint322Shopee's unique identifier for a push notification
timestamptimestamp1610000000timestamp: Timestamp that indicates the message was sent.
dataobject[]
data.shop_idint64600000[Optional]; Shopee's unique identifier for a shop. It indicates which shop has been cancel authorization.
data.shop_id_listint64[][6000000,60000001][Optional]; Shopee's unique identifier for a shop. It indicates which shops have been cancel authorization.
data.merchant_idint64600000[Optional]; Shopee's unique identifier for a merchant. It indicates which merchant has been cancel authorization.
data.merchant_id_listint64[][6000000,60000001][Optional]; Shopee's unique identifier for a merchant. It indicates which merchants have been cancel authorization.
data.user_idint64368765104[Optional]; Shopee's unique identifier for a user. It indicates which user has been cancel authorization.
data.user_id_listint64[][368765100, 368765098, 368765097][Optional]; Shopee's unique identifier for a user. It indicates which users have been cancel authorization.
data.authorize_typestringshop authorization by userIn which way the authorization is cancelled
data.extrastringshop id 600000 (SG) has been authorizedDetails of the deauthorization
data.main_account_idint6460000[Optional]; Shopee's unique identifier for a main account. If a seller uses a main account to cancel authorize, it would have this parameter to indicate which main account seller use to cancel authorize.
data.successint321Indicates if the push is success
#

§4 Sample

Sample

{"data":{"authorize_type":"user cancel shop authorization","success":1,"extra":"shop id 22000000 (VN) has been cancelled its authorization"},"code":2,"partner_id":800000,"timestamp":1653394175}
{"data":{"authorize_type":"user cancel merchant authorization","merchant_id_list":[1001000],"main_account_id":19000,"success":1,"extra":"merchant shop cancelled its authorization"},"code":2,"partner_id":800000,"timestamp":1653026849}
{"data":{"authorize_type":"expiry","shopid":22000000,"success":1,"extra":"The authorization is expired."},"code":2,"partner_id":800000,"timestamp":1653026985}
{"data":{"authorize_type":"App status is abnormal","shopid":22000000,"success":1,"extra":"Shop ID 22000000 is currently frozen. The authorization cannot be completed."},"code":2,"partner_id":800000,"timestamp":1653026985}
{"data":{"authorize_type":"shop and main account is disconnected","shopid":22000000,"success":1,"extra":"Shop (ID: 22000000) is disconnected from the main seller account (ID:30000). The authorization cannot be completed."},"code":2,"partner_id":800000,"timestamp":1653026985}
#

§5 Update log

Update log

DateChange
2022-08-18New Push Mechanism
#