コンテンツにスキップ

レジ端末

POST
/webhook-terminals
curl --request POST \
--url https://api.smaregi.dev/TARGET-CONTRACT-ID/pos/webhook-terminals \
--header 'Content-Type: application/json' \
--data '{ "contractId": "string", "event": "string", "action": "created", "terminalIds": [ "1", "10", "12" ] }'
Smaregi-Event
string

イベント名 pos:terminals

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • created: 登録
  • edited: 更新
  • deleted: 削除
string
Allowed values: created edited deleted
terminalIds
レジ端末IDリスト
array
Example
{
"contractId": "string",
"event": "string",
"action": "created",
"terminalIds": [
"1",
"10",
"12"
]
}