Skip to main content
GET
/
api
/
v3
/
store
/
customers
/
me
/
addresses
Spree SDK
import { createClient } from '@spree/sdk'

const client = createClient({
  baseUrl: 'https://your-store.com',
  publishableKey: '<api-key>',
})

const addresses = await client.customer.addresses.list({}, {
  token: '<token>',
})
{
  "data": [
    {
      "id": "addr_EfhxLZ9ck8",
      "first_name": "John",
      "last_name": "Doe",
      "full_name": "John Doe",
      "address1": "72 Lovely Street",
      "address2": "Northwest",
      "postal_code": "10118",
      "city": "New York",
      "phone": "555-555-0199",
      "company": "Company",
      "country_name": "United States of America",
      "country_iso": "US",
      "state_text": "NY",
      "state_abbr": "NY",
      "quick_checkout": false,
      "is_default_billing": false,
      "is_default_shipping": false,
      "state_name": "New York"
    },
    {
      "id": "addr_gbHJdmfrXB",
      "first_name": "John",
      "last_name": "Doe",
      "full_name": "John Doe",
      "address1": "71 Lovely Street",
      "address2": "Northwest",
      "postal_code": "10118",
      "city": "New York",
      "phone": "555-555-0199",
      "company": "Company",
      "country_name": "United States of America",
      "country_iso": "US",
      "state_text": "NY",
      "state_abbr": "NY",
      "quick_checkout": false,
      "is_default_billing": true,
      "is_default_shipping": false,
      "state_name": "New York"
    },
    {
      "id": "addr_UkLWZg9DAJ",
      "first_name": "John",
      "last_name": "Doe",
      "full_name": "John Doe",
      "address1": "70 Lovely Street",
      "address2": "Northwest",
      "postal_code": "10118",
      "city": "New York",
      "phone": "555-555-0199",
      "company": "Company",
      "country_name": "United States of America",
      "country_iso": "US",
      "state_text": "NY",
      "state_abbr": "NY",
      "quick_checkout": false,
      "is_default_billing": false,
      "is_default_shipping": true,
      "state_name": "New York"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "count": 3,
    "pages": 1,
    "from": 1,
    "to": 3,
    "in": 3,
    "previous": null,
    "next": null
  }
}

Documentation Index

Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-spree-api-key
string
header
required

Publishable API key for store access

Authorization
string
header
required

JWT token for authenticated customers

Headers

x-spree-api-key
string
required
Authorization
string
required

Query Parameters

page
integer
limit
integer
fields
string

Comma-separated list of fields to include (e.g., name,slug,price). id is always included.

Response

addresses found

data
object[]
meta
object