---
title: "Retrieve a list of stores"
method: GET
path: "/poslink/v1/stores"
tags: ["Stores"]
---

# Retrieve a list of stores

`GET /poslink/v1/stores`

## Request

- Base URL: `https://api.teya.com`
- URL: `https://api.teya.com/poslink/v1/stores`
- Auth: OAuth 2
  - Authorization code: `https://id.teya.com/oauth/v2/oauth-authorize`
  - Token URL: `https://id.teya.com/oauth/v2/oauth-token`
- TypeScript: <https://skmtc.dev/teya/apis/poslink-api/docs/poslink/v1/stores/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves all stores for a given merchant.

**Required Scopes (one of the following):**

- `stores/id/terminals` (returned via the register API: `POST /poslink/v1/epos/register`)
- `default_access` (deprecated, will be removed in the future; included for backward compatibility with existing integrations)

## Response `200`

Stores data successfully retrieved

- RetrieveStoreResponse
  - `stores` Store[]
    - `id` string: The store identifier
    - `name` string: The name of the store
    - `address` Address
      - `city` string: Name of the city where the store is located
      - `country` string, ISO 3166: Name of the country where the store is located. Must be a valid ISO 3166 code.
      - `street_address_line_1` string: Street address of the store
      - `street_address_line_2` string: Street address of the store
      - `zipcode` string: Zip code of the store
    - `company_id` string: The company identifier

## Other responses

- `400`: Bad request
- `401`: Lacks valid authentication credentials for the requested resource
- `403`: The server understands the request but refuses to authorize it
- `408`: Request timeout
- `429`: Too many requests in a given amount of time
- `500`: Internal Server Error

---

[API](https://skmtc.dev/teya/apis/poslink-api.md) - [All operations](https://skmtc.dev/teya/apis/poslink-api/llms.txt) - [OpenAPI document](https://skmtc.dev/teya/apis/poslink-api/revisions/cc7c1bd11e93?raw)
