Create Webhook

POST https://api.ecartapi.com/api/v2/webhooks

Request Body

{"webhook"=>{"resource"=>"orders", "action"=>"create", "url"=>"https://webhook.site/9a035cee-7320-4dcf-a53a-a13f61b9360f", "auth"=>"Token will be send on the authorization header to the url"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring