Skip to main content

shop_authorization_push

Last Updated: 2 Sep 2022

Basics

PropertyValue
CategoryShopee Push
Push Mechanism Nameshop_authorization_push
Push Mechanism Code1
Push Mechanism DescriptionThis push allows you to be notified once shops or merchants are authorized to your app
Push Mechanism Subscription RulesOriginal/ERP System/Seller In House System/Product Management/Order Management/Accounting And Finance/Marketing/Customer Service/Customized APP/Ads Service/Consignment Service System/Seller Logistics/Custom APP/Swam ERP/Livestream Management/Ads Facil/Affiliate Marketing Solution Management/Shopee Video Management
Time Out Seconds3s
Sequence GuaranteedNo
Can Repeated Same MessageYes
Retry Seconds300s,1800s,10800s

Push Parameters

NameTypeSampleDescription
partner_idint200000Shopee's unique identifier for your App. Partner ID is assigned upon registration is successful.
codeint1Shopee's unique identifier for a push notification
timestamptimestamp1610000000Timestamp that indicates the message was sent.
dataobject[]
shop_idint600000[Optional] Shopee's unique identifier for a shop. It indicates which shop has been authorized.
shop_id_listint[][6000000,60000001][Optional] If the seller uses a main account to authorize multiple shops at the same time, there will be this parameter to indicate all authorized shops
merchant_idint600000[Optional] Shopee's unique identifier for a merchant. It indicates which merchant has been authorized.
merchant_id_listint[][6000000,60000001][Optional] If the seller uses a main account to authorize multiple merchants at the same time, there will be this parameter to indicate all authorized merchants
authorize_typestringshop authorization by userIn which way shops are authorized to App
extrastringshop id 600000 (SG) has been authorizedDetails of the authorization
main_account_idint60000[Optional] Shopee's unique identifier for a main account. If a seller uses a main account to authorize, it would have this parameter to indicate which main account seller use to authorize
successint1Indicates if the push is success

Seller shop authorization

Json

{"data":{"authorize_type":"shop authorization by user","extra":"shop id 600000 (SG) has been authorized successfully","shop_id":60011111,"success":1},"partner_id":2000002,"code":1,"timestamp":1660616278}

Seller uses main account to authorize shops

Json

{"data":{"authorize_type":"shop authorization by user","extra":"Shop has been authorized successfully","main_account_id":68272,"shop_id_list":[62000001,62000002,62000003,62000004],"success":1},"partner_id":2000002,"code":1,"timestamp":1660616631}

Seller uses main account to authorize a merchant

Json

{"data":{"authorize_type":"merchant authorization by user","extra":"merchant id 600000 has been authorized successfully","merchant_id":600222872,"success":1},"partner_id":2000007,"code":1,"timestamp":1660616278}

Update Log

DateUpdate Details
2022-08-18New Push Mechanism