POST
/
subscription_oncreate_v2
/
curl --request POST \
  --url https://api.ekhodealer.com/subscription_oncreate_v2/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oemKey": "<string>",
  "brandKey": "<string>",
  "targetUrl": "<string>",
  "actionName": "placedOrder"
}'
{
  "success": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json

Successfully subscribed a URL to a specified webhook event.

The response is of type object.