Get Legal Address by ID
Get Legal Address by ID
This endpoint is used to get a legal address by Identifier.
GET {{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 identifier
true
String
68bee5517748028a3e6b2647
Response
{
"id": "68bee5517748028a3e6b2647",
"country": "Brazil",
"state": "SP",
"city": "São Paulo",
"neighborhood": "Itaquera",
"street": "Av Itaquera",
"number": 123,
"complement": "ap 10",
"zipCode": "12345-678",
"default": true,
"nickname": "casa",
"fullAddress": "Av Itaquera, 123 ap 10 - Itaquera - São Paulo/SP, Brazil - 12345-678"
}{
"status": 404,
"message": "Adress 68bee5517748028a3e6b2647 not found",
"name": "NotFoundException"
}
