コンテンツにスキップ

ロス区分

POST
/webhook-loss-divisions
curl --request POST \
--url https://api.smaregi.dev/TARGET-CONTRACT-ID/pos/webhook-loss-divisions \
--header 'Content-Type: application/json' \
--data '{ "contractId": "your_contract_id", "event": "pos:loss-divisions", "action": "created", "codes": [ "100" ] }'
Smaregi-Event
string

イベント名 pos:loss-divisions

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • created: 登録
  • edited: 更新
  • deleted: 削除
string
codes
ロス区分コードリスト
array
Example
{
"contractId": "your_contract_id",
"event": "pos:loss-divisions",
"action": "created",
"codes": [
"100"
]
}