コンテンツにスキップ

店舗

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

イベント名 pos:stores

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • created: 登録
  • edited: 更新
  • deleted: 削除
  • bulk-update: 一括更新
string
Allowed values: created edited deleted bulk-update
storeIds
店舗IDリスト
array
Example
{
"contractId": "string",
"event": "string",
"action": "created",
"storeIds": [
"1",
"10",
"12"
]
}