cURL
curl --request POST \ --url https://api.market.iventou.com.br/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Purchase approval", "url": "https://webhook.example.com/v1" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Token from partner authetnication
3
"Purchase approval"
"https://webhook.example.com/v1"
Webhook registered successful