This endpoint allows you to retrieve the list of all addresses associated with a specific customer. You must send the customer ID in the path. In case of success, the request will return a response with status 200 containing the array of addresses.
GET
REQUIRED
REQUIRED
400Request error.
100
The credentials are required. Provide a valid access token in the Authorization header.
401Error. Access Token not authorized.
unauthorized
Unauthorized access. The provided access token is invalid or expired. Verify your credentials and try again.
404Error. Requested resource not found.
not_found
The requested resource was not found. Verify that the customer ID and address ID are correct and that the address exists.
500Generic error.
internal_error
Internal server error. Please try again later or contact support if the issue persists.
curl -X GET \
'https://api.mercadopago.com/v1/customers/{id}/addresses'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-5*********956537-12*********ff1a3d36d*********47e7b9985*********770' \
[
{
"id": "1162600213",
"street_name": "Rua Exemplo",
"zip_code": "11300",
"city": {
"id": "BR-SP-44",
"name": "Montevideo"
},
"state": {
"id": "BR-SP",
"name": "Montevideo"
},
"country": {
"id": "UY",
"name": "Uruguay"
},
"neighborhood": {
"name": "Pocitos"
},
"municipality": {},
"date_created": "2021-03-16T15:45:17.000-04:00",
"live_mode": true,
"verifications": {}
}
]