コンテンツにスキップ

会員ポイント

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

イベント名 pos:customer-points

Media typeapplication/json
object
contractId
契約ID
string
event
イベント
string
action
アクション
  • edited: 更新
  • bulk-update: 一括更新
string
Allowed values: edited bulk-update
transactionHeadIds
取引IDリスト
array
Example
{
"contractId": "string",
"event": "string",
"action": "edited",
"transactionHeadIds": [
"1",
"10",
"12"
]
}