Get Customer Addresses
Retrieve all saved addresses for the authenticated customer.
Endpoint
GET /api/shop/customers/addressesRequest Headers
| Header | Required | Description |
|---|---|---|
X-STOREFRONT-KEY | Yes | Your storefront API key |
Authorization | Yes | Bearer token (customer login required) |
Response Fields (200 OK)
| Field | Type | Description |
|---|---|---|
addresses | array | List of customer addresses |
Address Fields
| Field | Type | Description |
|---|---|---|
id | integer | Address ID |
firstName | string | First name |
lastName | string | Last name |
address | string | Street address |
city | string | City |
state | string | State/Province |
country | string | Country code |
postcode | string | Postal code |
phone | string | Phone number |
isDefault | boolean | Is default address |
addressType | string | Type (residential/commercial) |
Use Cases
- Display saved addresses in checkout
- Allow customer to select address
- Populate address dropdown
- Show customer's address book
- Select shipping address
- Select billing address

