Handle Webhook
Description
處理UberEats WebHook狀態。
Resource
POST /ubereats/handle_webhook
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request Body Parameters
| Name | Type | Description |
|---|---|---|
| store_id | string | 門市代碼 |
| status | string (enum) |
狀態 ALLOWED VALUES:
|
Request Example
{
"store_id": "000030",
"status": "0"
}
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| code | string (enum) |
代碼 ALLOWED VALUES:
|
| store_id | string | 門市代碼 |
| message | string | 訊息 |
Response
{
"code": "0",
"store_id": "000030",
"message": "webhook開啟成功"
}