Get Checkout Addresses
Retrieve the address associated with the current checkout session.
Note: This query does not return all saved addresses for a customer. It returns only the address applied to the active checkout — either the address entered during guest checkout or the address the authenticated customer has selected for the current order. To fetch all saved customer addresses, use the Get Customer Addresses query instead.
Authentication
This query supports both authenticated customers and guest users:
- Authenticated customers: Provide a valid customer authentication token in the
Authorizationheader. Obtain this token via the Customer Login API. - Guest users: Provide the Guest Cart Token
cartTokenobtained from the Create Cart mutation.
Authorization: Bearer <accessToken>Response
| Field | Type | Description |
|---|---|---|
id | String | Address ID |
addressType | String | Type of address (billing or shipping) |
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/Zip code |
email | String | Email address |
phone | String | Phone number |
useForShipping | Boolean | Whether this address is also used for shipping |
defaultAddress | Boolean | Whether this is the customer's default address |
createdAt | DateTime | When address was created |
Use Cases
- Confirm the address applied to the current checkout session
- Display the selected address on the order review/summary page
- Verify guest checkout address before placing the order

