- Carriers
- Get carrier
Carriers
Get carrier
Get carrier
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
carrierId
required
string
The carrier’s ID (UUID).
Responses
| Status | Description |
|---|---|
200 | Carrier. |
404 | Resource not found. |
curl -X GET "https://api.treeunfe.com.br/api/v1/carriers/CARRIERID" \
-H "x-enterprise-key: YOUR_ENTERPRISE_KEY" \
-H "x-organization-id: ORGANIZATION_ID"
{
"CNPJCPF": "12345678000195",
"xNome": "TRANSPORTADORA EXEMPLO LTDA",
"xFant": "TRANSPORTES EXEMPLO",
"IE": "112347339",
"fone": "+556499999999",
"CEP": "76600000",
"xLgr": "Rua Exemplo",
"nro": "138",
"xBairro": "Centro",
"cMun": 5208707,
"xMun": "Goiânia",
"UF": "GO"
}
curl -X GET "https://api.treeunfe.com.br/api/v1/carriers/CARRIERID" \
-H "x-enterprise-key: YOUR_ENTERPRISE_KEY" \
-H "x-organization-id: ORGANIZATION_ID"
{
"CNPJCPF": "12345678000195",
"xNome": "TRANSPORTADORA EXEMPLO LTDA",
"xFant": "TRANSPORTES EXEMPLO",
"IE": "112347339",
"fone": "+556499999999",
"CEP": "76600000",
"xLgr": "Rua Exemplo",
"nro": "138",
"xBairro": "Centro",
"cMun": 5208707,
"xMun": "Goiânia",
"UF": "GO"
}