Skip to main content
PUT
/
empresas
/
{id}
Atualizar empresa
curl --request PUT \
  --url https://api-vendas.taximachine.com.br/api/v2/integracao/empresas/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "numero_contrato": 123
}
'
{
  "success": true,
  "data": {
    "status": "OK",
    "mensagem": "Empresa atualizada 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
integer
required

Body

application/json
status_empresa
enum<string>

A - Ativo, S - Suspenso, G - Aguardando Ativação

Available options:
A,
S,
G
numero_contrato
integer

Response

200 - application/json

Sucesso