POST
/
apps
/
{app_id}
/
webhooks
/
{webhook_id}
/
simulate
curl --request POST \
  --url https://sandbox-api.violet.io/v1/apps/{app_id}/webhooks/{webhook_id}/simulate \
  --header 'Content-Type: application/json' \
  --data '{
  "order_id": 123,
  "offer_id": 123,
  "collection_id": 123,
  "merchant_id": 123
}'
"<any>"

Headers

X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer

Path Parameters

app_id
integer
required
webhook_id
integer
required

Body

application/json
order_id
integer

Order ID to be used on simulation

offer_id
integer

Offer ID to be used on simulation

collection_id
integer

Collection ID to be used on simulation

merchant_id
integer

Merchant ID to be used on simulation

Response

default - application/json

The response is of type any.