Update Legal Address
Update Legal Address
This endpoint is used to update a legal address.
PUT {{Environment_URL}}/customers/v1/partner/legal/:cnpj/addresses/:addressId
Headers
Name
Value
Authorization
Bearer <token>
Path Params
Key
Description
Required
Data Type
Example
cnpj
CNPJ in format 58393613000116
true
String
58393613000116
addressId
Address ID (obtained in create physical address)
true
String
6887c6ee05fc6408d37076a3
Body Params
The request body follows the same structure and validation rules as the Create Legal Address endpoint. This route should be used exclusively to update one or more existing attributes of a registered legal address.
Request Body
{
"zipCode": "12345-678",
"country": "Brazil",
"state": "SP",
"city": "São Paulo",
"neighborhood": "Itaquera",
"street": "Av Itaquera",
"number": 123,
"complement": "ap 10",
"nickname": "casa",
"default": true
}Response