---
title: "Get all addresses"
method: GET
path: "/ecommerce/addresses"
tags: ["🛒 Ecommerce"]
---

# Get all addresses

`GET /ecommerce/addresses`

The API endpoint allows a logged-in user to retrieve all the addresses saved in their profile within an e-commerce application.

By accessing this endpoint, the user can retrieve a list of their saved addresses, that have been previously stored in their account.

This functionality enables users to conveniently access and manage their saved addresses for a seamless checkout experience, eliminating the need to repeatedly enter address information for each transaction.

## Query parameters

- `page` string
- `limit` string

## Response `200`

Get all addresses

- object
  - `data` object
    - `addresses` object[]
      - `__v` number
      - `_id` string
      - `addressLine1` string
      - `addressLine2` string
      - `city` string
      - `country` string
      - `createdAt` string
      - `owner` string
      - `pincode` string
      - `state` string
      - `updatedAt` string
    - `hasNextPage` boolean
    - `hasPrevPage` boolean
    - `limit` number
    - `nextPage` unknown
    - `page` number
    - `prevPage` unknown
    - `serialNumberStartFrom` number
    - `totalAddresses` number
    - `totalPages` number
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/versions/a9f3a290e4dc/schema)
