POST v1/WebHooks/Subscribe

Subscribe to a webhook

Request Information

Parameters

NameDescriptionAdditional information
sub
Subscription composed by URL and a subject

Define this parameter in the request body.

Request body formats

application/json

Sample:
{
  "subject": "Order.Update",
  "url": "http://samplecallback.myhost.com"
}

Response Codes

  • Conflict (409)
  • NotAcceptable (406)
  • Forbidden (403)