コンテンツにスキップ

予約

POST
/webhook-reservations
curl --request POST \
--url https://api.smaregi.dev/TARGET-CONTRACT-ID/waiter/webhook-reservations \
--header 'Content-Type: application/json' \
--data '{ "contractId": "smaregi", "event": "waiter:reservations", "action": "updated", "storeId": "1", "reservationIds": [ "1", "2" ] }'
Smaregi-Event
string

イベント名 waiter:reservations

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • created: 登録
  • updated: 更新
  • deleted: 削除
string
storeId
店舗ID
string
reservationIds
予約IDリスト
array
Examples
Exampleリクエスト例
{
"contractId": "smaregi",
"event": "waiter:reservations",
"action": "updated",
"storeId": "1",
"reservationIds": [
"1",
"2"
]
}

OK