Backend API
Retrieve an existing account address using the ID that was returned when created.
Arguments
idobjectIdrequired
Unique identifier for the address.
GET/accounts:addresses/:id
const { swell } = require('swell-node');
swell.init('store-id', 'secret-key');
await swell.get('/accounts:addresses/{id}', {
id: '62cdb5332c0a5f00123c5fd7'
});
Response
{
"parent_id": "621e53a6213eaf013d1fa6b2",
"name": "Njada Stonearm",
"first_name": "Njada",
"last_name": "Stonearm",
"address1": "123 Breezehome St",
"address2": null,
"city": "Whiterun",
"state": "NY",
"zip": null,
"country": "US",
"phone": null,
"fingerprint": "1219483071269e91f9528ac1c4237944",
"date_created": "2022-07-12T17:53:55.762Z",
"active": true,
"id": "62cdb5332c0a5f00123c5fd7"
}