コンテンツにスキップ

入荷

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

イベント名 pos:storage

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • created: 登録
  • edited: 更新
  • deleted: 削除
  • bulk-deleted: 一括削除
string
storageIds
入荷IDリスト
array
Example
{
"contractId": "your_contract_id",
"event": "pos:storage",
"action": "created",
"storageIds": [
"100"
]
}