Skip to main content
PUT
/
atualizarWebhook
/
{id}
Atualizar webhook
curl --request PUT \
  --url https://api-vendas.taximachine.com.br/api/integracao/atualizarWebhook/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "url": "<string>"
}
'
{
  "success": true,
  "response": {
    "mensagem": "Webhook atualizado com sucesso"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

api-key
string
header
required

Obrigatório. Sua chave API.

Path Parameters

id
string
required

Body

application/json
url
string
required

Indica a URL que receberá o evento

Response

200 - application/json

Sucesso

The response is of type object.