curl --request POST \
--url https://base_url/api/v1/webhooks/:id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"api_version": "<string>",
"name": "<string>",
"topics": [
"REGISTRATIONS.EXISTING.VALIDATION_FAILED"
],
"status": "ENABLED"
}'
{
"message": "Successfully updated webhook."
}
Update an existing webhook.
curl --request POST \
--url https://base_url/api/v1/webhooks/:id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"api_version": "<string>",
"name": "<string>",
"topics": [
"REGISTRATIONS.EXISTING.VALIDATION_FAILED"
],
"status": "ENABLED"
}'
{
"message": "Successfully updated webhook."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Sales tax registration response
The response is of type object
.