コンテンツにスキップ

トッピングの販売状態・残数

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

イベント名 waiter:topping-conditions

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • updated: 更新
string
storeId
店舗ID
string
toppingIds
トッピングIDリスト
array
Examples
Exampleリクエスト例
{
"contractId": "smaregi",
"event": "waiter:topping-conditions",
"action": "updated",
"storeId": "1",
"toppingIds": [
"1",
"2"
]
}

OK