getCustomerAddresses
This method retrieves a list of addresses associated with a specific customer.
Parameters
customerId (string, required): The UUID of the customer whose addresses you want to retrieve.
Returns
A JSON array containing objects with address details including street, city, state, country, and other relevant information.
Usage Example
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://api.nexera.id/customers/:customerId/addresses',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <TOKEN>'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});