コンテンツにスキップ

締め処理

POST
/webhook-daily-summaries
curl --request POST \
--url https://api.smaregi.dev/TARGET-CONTRACT-ID/pos/webhook-daily-summaries \
--header 'Content-Type: application/json' \
--data '{ "contractId": "string", "event": "string", "action": "executed", "ids": [ { "sumDate": "2020/09/01", "storeId": "1", "cashDrawerId": "0" }, { "sumDate": "2020/09/02", "storeId": "1", "cashDrawerId": "0" } ] }'
Smaregi-Event
string

イベント名 pos:daily-summaries

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • executed: 締め実施
  • edited: 更新
  • canceled: 締め解除
  • bulk-update: 一括更新
string
Allowed values: executed edited canceled bulk-update
ids
Array<object>
object
sumDate
締め日

[YYYY/MM/DD]

string
storeId
店舗ID
string
cashDrawerId
キャッシュドロアID

※未登録の場合、0が設定されます

string
Example
{
"contractId": "string",
"event": "string",
"action": "executed",
"ids": [
{
"sumDate": "2020/09/01",
"storeId": "1",
"cashDrawerId": "0"
},
{
"sumDate": "2020/09/02",
"storeId": "1",
"cashDrawerId": "0"
}
]
}