1. Carriers
  2. Update carrier
PUT

​
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).

​
Body

application/json

xNome
string
xFant
string
IE
string
fone
string
CEP
string
xLgr
string
nro
string
xBairro
string
cMun
integer
xMun
string
UF
string

​
Responses

StatusDescription
200Carrier updated.
400Invalid body (missing required field, wrong format, or field not allowed).
404Resource not found.
curl -X PUT "https://api.treeunfe.com.br/api/v1/carriers/CARRIERID" \
  -H "x-enterprise-key: YOUR_ENTERPRISE_KEY" \
  -H "x-organization-id: ORGANIZATION_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "xNome": "TRANSPORTADORA EXEMPLO LTDA - MATRIZ"
  }'