Skip to main content
PATCH
/
v1
/
dinamica
/
area
/
{id}
Ativar/Desativar dinâmica por área
curl --request PATCH \
  --url https://api-vendas.taximachine.com.br/integracao/v1/dinamica/area/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "ativo": true
}'
{
  "success": true,
  "message": "Dinâmica 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
string
required

Body

application/json
ativo
boolean
required

Indica se o fator de dinâmica será ativo ou desativado. Valores válidos: true, false, 1, 0

Response

200 - application/json

Sucesso