コンテンツにスキップ

日別予算

POST
/webhook-daily-budget
curl --request POST \
--url https://api.smaregi.dev/TARGET-CONTRACT-ID/pos/webhook-daily-budget \
--header 'Content-Type: application/json' \
--data '{ "contractId": "string", "event": "string", "action": "created", "ids": [ { "storeId": "1", "year": "2020", "month": "1" }, { "storeId": "1", "year": "2020", "month": "2" } ] }'
Smaregi-Event
string

イベント名 pos:daily-budget

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • created: 登録
  • edited: 更新
  • deleted: 削除
  • bulk-update: 一括更新
string
Allowed values: created edited deleted bulk-update
ids
Array<object>
object
storeId
店舗ID
string
year
string
month
string
Example
{
"contractId": "string",
"event": "string",
"action": "created",
"ids": [
{
"storeId": "1",
"year": "2020",
"month": "1"
},
{
"storeId": "1",
"year": "2020",
"month": "2"
}
]
}