Skip to content

Menu Synchronization Task Completion Notification
Webhook

Request

The Menu Synchronization API operates asynchronously. When Keeta's platform receives a synchronization request, it creates an internal task for processing. Upon task completion (success or failure), Keeta will notify developers via this webhook.

Event ID: 1202

Bodyapplication/jsonrequired
shopIdinteger, (int64)required

Unique identifier of the Keeta store.

Example:25381
taskIdinteger, (int64)required

Due to this being an asynchronous task, when Keeta platform receives the request, it cannot complete the task immediately. Keeta platform will submit a task to run in the internal system, and this field represents the unique ID of that task.

Example:897354
pictureTaskIdinteger, (int64)

The task ID of the image sync task within the current menu sync task. This field is null when there is no image sync task.

Example:266675845
errorSpuDTOListArray of objects

This field represents detailed information about the product list that failed menu synchronization.

Payload
{ "shopId": 25381, "taskId": 897354, "pictureTaskId": 266675845, "errorSpuDTOList": [ { … } ] }

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