---
title: "List all storefront tokens"
method: GET
path: "/storefront_tokens"
tags: ["Storefront Tokens"]
---

# List all storefront tokens

`GET /storefront_tokens`

List all storefront tokens<br>列出所有店面令牌

## Response `200`

OK<br>成功

- object
  - `items` StorefrontToken[]
    - `id` string — Token ID<br>令牌ID
    - `token` string — A JWT storefront token string<br>JWT店面令牌字串
    - `staff_id` string — ID of the staff that created this token<br>創建這令牌的staff ID
    - `application_id` string — ID of the application that created this token<br>創建這令牌的程式
    - `merchant` StorefrontTokenMerchant — The merchant that this storefront token can access<br>這令牌能存取的商户
      - `id` string — Merchant ID<br>商户ID
      - `name` string — Merchant name<br>商户名稱
      - `email` string — Merchant email<br>商户電郵
      - `handle` string — Merchant handle<br>商户handle
    - `staff` StorefrontTokenMerchant — The merchant that this storefront token can access<br>這令牌能存取的商户
      - `id` string — Merchant ID<br>商户ID
      - `name` string — Merchant name<br>商户名稱
      - `email` string — Merchant email<br>商户電郵
      - `handle` string — Merchant handle<br>商户handle
    - `backend_token` boolean — Indicate if it is a backend token for different setup such as ratelimit
    - `created_at` string — The date and time when the token was created<br>令牌創建的日期和時間

---

[API](https://skmtc.net/shoplineapp/apis/shopline-open-api.md) · [All operations](https://skmtc.net/shoplineapp/apis/shopline-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shoplineapp/shopline-open-api/revisions/1675ac12cde7/schema)
