novinzodevelopers
API referencePlugin contractWebhooks

Seller Action

POST/webhooks/seller-action

Request 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<>
Items1 <= items <= 100

Response 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"