shop_authorization_push
Last Updated: 2 Sep 2022
Basics
| Property | Value |
|---|---|
| Category | Shopee Push |
| Push Mechanism Name | shop_authorization_push |
| Push Mechanism Code | 1 |
| Push Mechanism Description | This push allows you to be notified once shops or merchants are authorized to your app |
| Push Mechanism Subscription Rules | Original/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 Seconds | 3s |
| Sequence Guaranteed | No |
| Can Repeated Same Message | Yes |
| Retry Seconds | 300s,1800s,10800s |
Push Parameters
| Name | Type | Sample | Description |
|---|---|---|---|
| partner_id | int | 200000 | Shopee's unique identifier for your App. Partner ID is assigned upon registration is successful. |
| code | int | 1 | Shopee's unique identifier for a push notification |
| timestamp | timestamp | 1610000000 | Timestamp that indicates the message was sent. |
| data | object[] | ||
| shop_id | int | 600000 | [Optional] Shopee's unique identifier for a shop. It indicates which shop has been authorized. |
| shop_id_list | int[] | [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_id | int | 600000 | [Optional] Shopee's unique identifier for a merchant. It indicates which merchant has been authorized. |
| merchant_id_list | int[] | [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_type | string | shop authorization by user | In which way shops are authorized to App |
| extra | string | shop id 600000 (SG) has been authorized | Details of the authorization |
| main_account_id | int | 60000 | [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 |
| success | int | 1 | Indicates 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
| Date | Update Details |
|---|---|
| 2022-08-18 | New Push Mechanism |