Skip to content

Store Status Update Notification
Webhook

Request

Keeta pushes real-time notifications when a store's operational status changes, enabling immediate order availability updates based on status codes and business hours.

Event ID: 1102

Notes: A store accepts orders only when its status is 3 (Operating) and the current time falls within configured business hours; if the status is 4 (Suspended), orders are blocked immediately regardless of business hours.

Bodyapplication/jsonrequired
shopIdinteger, (int64)

Store ID

Example:466663
fromStatusinteger

Previous store status

Example:4
toStatusinteger

New store status

Enum ValueDescription
3

Indicates the store status is on, it's actively conducting business.
Keeta will only permit order submissions when both conditions are satisfied, the status equals 3 and the current time falls within published operating hours.
This field is now derived from the combination of these sub-statuses deliveryRestStatus pickupRestStatus: the store is considered Open when either service is available, and Closed only when both are unavailable.

4

Indicates the store status is off, it's under operational pause.
Keeta automatically disables all order placement regardless of scheduled business hours.

fromDeliveryRestStatusinteger

Previous store's delivery businese status

Example:1
toDeliveryRestStatusinteger

New store's delivery businese status

Enum ValueDescription
1

Indicates the store's delivery status is available.

2

Indicates the store's delivery status is unavailable.

fromPickupRestStatusinteger

Previous store's pickup businese status

Example:1
toPickupRestStatusinteger

New store's pickup businese status

Enum ValueDescription
1

Indicates the store's pickup status is available.

2

Indicates the store's pickup status is unavailable.

Payload
{ "shopId": 466663, "fromStatus": 4, "toStatus": 3, "fromDeliveryRestStatus": 1, "toDeliveryRestStatus": 1, "fromPickupRestStatus": 1, "toPickupRestStatus": 1 }

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" }