The first address you create is automatically set as both the default shipping and the default billing address, regardless of the
is_default_shipping and is_default_billing values in the request body.List Addresses
Retrieve a paginated list of your saved addresses, ordered newest first.GET /users/me/addresses
Query Parameters
integer
default:"1"
Page number (1-based).
integer
default:"20"
Number of addresses to return per page. Minimum
1, maximum 100.Response — 200 OK
Create an Address
Add a new address to your address book. The required fields arerecipient_name, phone_number, country, state, city, and address_1. All other fields are optional.
POST /users/me/addresses
Obtain a CSRF token from
GET /auth/csrf-token and pass it in the x-csrf-token header before this and all other write requests.Request Body
string
required
Full name of the person receiving the delivery. 1–100 characters.
string
required
Contact phone number for the recipient. Up to 20 characters (e.g.
+14155552671).string
required
Country name or code (e.g.
USA, GB). 1–100 characters.string
required
State, province, or region. 1–100 characters.
string
required
City or locality. 1–100 characters.
string
required
Primary street address line. Minimum 1 character.
string
Friendly label for this address, e.g.
Home or Office. Up to 50 characters.string
Secondary address line for apartment, suite, unit, etc. (e.g.
Apt 4B).string
Postal or ZIP code. Up to 20 characters.
boolean
default:"false"
Set this address as your default shipping address. Setting this to
true clears the flag from whichever address currently holds it.boolean
default:"false"
Set this address as your default billing address. Setting this to
true clears the flag from whichever address currently holds it.Response — 201 Created
Error Responses
Get a Single Address
Retrieve one address from your address book by its public ID.GET /users/me/addresses/{address_public_id}
Response — 200 OK
Returns a single Address object identical in shape to the creation response.Update an Address
Partially update an existing address. Supply only the fields you want to change — all others remain unchanged. Default flag changes trigger automatic promotion or clearing of the existing defaults.PATCH /users/me/addresses/{address_public_id}
The request body accepts the same fields as Create an Address, all optional. At minimum, send one field to change.
Response — 200 OK
Returns the full updated address object.Delete an Address
Soft-delete an address from your address book. The address is removed from your active list and can no longer be used for new orders.DELETE /users/me/addresses/{address_public_id}
When you delete an address that is currently set as a default (shipping or billing), the next oldest address in your book is automatically promoted to hold that default flag — so your checkout flow is never left without a default.