POST
/
webhooks
/
{id}
curl --request POST \
  --url http://staging.api.commenda.io/api/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "api_version": "<string>",
  "name": "<string>",
  "topics": [
    "INCORPORATION_REQUEST.SUCCEEDED"
  ],
  "status": "ENABLED"
}'
{
  "message": "Successfully updated webhook."
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The unique identifier of the webhook to update.

Body

application/json

Response

200
application/json

Sales tax registration response

The response is of type object.