Skip to content

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:
  • 0:開啟
  • 1:關閉

Request Example

{
  "store_id": "000030",
  "status": "0"
}

Response Body Parameters

Name Type Description
code string
(enum)
代碼
ALLOWED VALUES:
  • 0:成功
  • 1:失敗
store_id string 門市代碼
message string 訊息

Response

{
  "code": "0",
  "store_id": "000030",
  "message": "webhook開啟成功"
}