コンテンツにスキップ

お好みオーダー

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

イベント名 waiter:custom-orders

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • created: 登録
  • updated: 更新
  • deleted: 削除
string
customIds
お好みオーダーIDリスト
array
Examples
Exampleリクエスト例
{
"contractId": "smaregi",
"event": "waiter:custom-orders",
"action": "created",
"customIds": [
"1",
"2",
"3"
]
}

OK