API referencePlugin contractWebhooks
Seller Action
POST
/webhooks/seller-actionRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
storeId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$actions*array<>
Items
1 <= items <= 100Response Body
text/plain
curl -X POST "https://example.com/webhooks/seller-action" \ -H "Content-Type: application/json" \ -d '{ "storeId": "string", "actions": [ { "id": "string", "sellerId": "string", "role": "owner", "rpc": "string", "part": "account", "kind": "read", "outcome": { "_tag": "Succeeded" }, "occurredAt": "string" } ] }'"string"