Update Physical Address

Update Physical Address

This endpoint is used to update a customer address.

PUT {{Environment_URL}}/customers/v1/partner/physical/:cpf/addresses/:id

Headers

Name
Value

Authorization

Bearer <token>

Path Params

Key
Description
Required
Data Type
Example

cpf

CPF in format 00000000000

true

String

12345678900

id

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 Physical Address endpoint. This route should be used exclusively to update one or more existing attributes of a registered physical address.

Request Body

{
  "country": "Brazil",
  "state": "SP",
  "city": "Francisco Morato",
  "neighborhood": "Chácara Martha",
  "street": "Avenida União",
  "number": 81,
  "complement": "",
  "zipCode": "07996-090",
  "default": false,
  "nickname": "Casa"
}

Response