Skip to main content
GET
/
categoria
Obter Categorias
curl --request GET \
  --url https://api-vendas.taximachine.com.br/api/integracao/categoria \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'api-key: <api-key>'
{
  "success": true,
  "response": [
    {
      "id": "1",
      "nome": "Comum"
    },
    {
      "id": "2",
      "nome": "VIP"
    }
  ]
}

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.

Query Parameters

lat
number<float>

Obrigatório caso envie lng

lng
number<float>

Obrigatório caso envie lat

cidade
string

Obrigatório se não enviar lat/lng

endereco
string

Obrigatório se não enviar lat/lng

bairro
string

Obrigatório se não enviar lat/lng

estado
string

Estado

Response

200 - application/json

Sucesso