Skip to content

Store Authorization Removal Notification
Webhook

Request

This webhook is sent by Keeta to notify the vendor's system when a merchant reduces the authorized store scope for a brand. This event is triggered when one or more stores are removed from an existing brand authorization.

Event ID: 1302

Note: Authorization in Keeta is managed at the brand level, and each brand has a single access token. Reducing the store scope does not affect the existing token.

Bodyapplication/jsonrequired
appIdstringrequired

Unique application ID assigned by Keeta.

Example:"3762772727"
shopIdinteger, (int64)required

Unique identifier of the store that has been removed from the authorization scope.

Example:145541
shopNamestringrequired

Name of the shop, provided for identification purposes.

Example:"Downtown Store"
authIdstringrequired

Authorization record ID, which can be used for status queries.

Example:"auth_20240324_002"
createTimeinteger, (int64)required

Time when the event occurred, specified as milliseconds since Jan 1, 1970 (Unix epoch).

Example:1711267800000
opTypeintegerrequired

Operation type. Always 2 for this event (store authorization removed).

Example:2
Payload
{ "appId": "3762772727", "shopId": 145541, "shopName": "Downtown Store", "authId": "auth_20240324_002", "createTime": 1711267800000, "opType": 2 }

Responses

Request executed successfully

Bodyapplication/json
codeintegerrequired

A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.

Enum ValueDescription
0

The request was executed successfully.

Non-zero value

The request execution failed. Specific error details can be viewed in the message field.

Example:0
messagestringrequired

Text description corresponding to the status code, explaining the operation result or error cause to users.

Example:"Success"
Response
{ "code": 0, "message": "Success" }