Skip to content

Get Shops

Description

取得門市列表。

Resource

GET /v1/basic/shops

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Query Parameters

Name Type Description
company_id string 公司編號

Request Example

GET /v1/basic/shops?company_id=24436074

Response Body Parameters

Name Type Description
shops Shop 門市列表

Response Body Parameters - Shop

Name Type Description
id string 門市代碼
name string 門市名稱
type string 門市類型
ALLOWED VALUES:
  • REGULAR_CHAIN: 直營
  • VOLUNTARY_CHAIN:
加盟

Response Body Example

Status-Code: 200

{
  "shops": [
    {
      "id": "001",
      "name": "台南西門店",
      "type": "REGULAR_CHAIN"
    },
    {
      "id": "002",
      "name": "台南安平店",
      "type": "VOLUNTARY_CHAIN"
    }
  ]
}