1. Customers
  2. Get customer
GET

​
Authentication

x-enterprise-key
required
string

Enterprise key with this route’s permission. See Authentication.

x-organization-id
required
string

ID of the organization (issuing company) the operation applies to.

​
Path parameters

customerId
required
string

The customer’s ID (UUID).

​
Responses

StatusDescription
200Customer.
404Resource not found.
curl -X GET "https://api.treeunfe.com.br/api/v1/customers/CUSTOMERID" \
  -H "x-enterprise-key: YOUR_ENTERPRISE_KEY" \
  -H "x-organization-id: ORGANIZATION_ID"
{
  "CNPJCPF": "12345678909",
  "xNome": "Cliente Teste",
  "indIEDest": "NAO_CONTRIBUINTE",
  "IE": "string",
  "email": "cliente@exemplo.com.br",
  "address": {
    "xLgr": "Rua das Palmeiras",
    "nro": "456",
    "xCpl": "string",
    "xBairro": "Centro",
    "cMun": 3550308,
    "xMun": "São Paulo",
    "UF": "SP",
    "CEP": "01002000",
    "fone": "string"
  }
}