Skip to content

Picture Bind Task Completion Notification
Webhook

Request

Item's Picture Bind Task operates asynchronously. When Keeta's platform receives a MenuSync request, it creates two separate internal tasks, one for syncing the menu and another for uploading item images. Upon the image task completion (success or failure), Keeta will notify developers via this webhook.

Event ID: 1201

Bodyapplication/jsonrequired
shopIdinteger, (int64)required

Unique identifier of the Keeta store.Identifies the store to which the current operation belongs

Example:25381
taskIdinteger, (int64)required

Task ID, the unique identifier for the current image binding task

Example:939569332
mainTaskIdinteger, (int64)

The task ID of the menu sync task associated with the current menu image sync task.

Example:41666617
errorListArray of objects

Error list, contains a list of failed item processing information

Payload
{ "shopId": 25381, "taskId": 939569332, "mainTaskId": 41666617, "errorList": [ { … } ] }

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