Skip to content

Get Member Groups

Description

取得會員群組列表。

Resource

GET /manager/v1/member/groups

Authorization

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

Query Parameters

Name Type Description
company_id string 公司編號

Request Example

GET /manager/v1/member/groups?company_id=00000000

Response Body Parameters

Name Type Description
member_groups Member Groups 會員群組列表

Response Body Parameters - Member Groups Detail

Name Type Description
company_id string 公司代碼
name string 會員群組名稱
id string 會員群組代碼
imgfile1 string 會員群組圖片1
imgfile2 string 會員群組圖片2
imgfile3 string 會員群組圖片3
imgfile4 string 會員群組圖片4
imgfile5 string 會員群組圖片5
member_card_image_file string 會員卡圖片

Response Body Example

Status-Code: 200

{
  "member_groups": [
    {
      "company_id": "00000000",
      "name": "白金卡",
      "id": "1",
      "imgfile1": "",
      "imgfile2": null,
      "imgfile3": null,
      "imgfile4": null,
      "imgfile5": null,
      "member_card_image_file": null
    },
    {
      "company_id": "00000000",
      "name": "金卡",
      "id": "2",
      "imgfile1": null,
      "imgfile2": null,
      "imgfile3": null,
      "imgfile4": null,
      "imgfile5": null,
      "member_card_image_file": null
    },
    {
      "company_id": "00000000",
      "name": "APP",
      "id": "APP",
      "imgfile1": null,
      "imgfile2": null,
      "imgfile3": null,
      "imgfile4": null,
      "imgfile5": null,
      "member_card_image_file": null
    },
  ...
  ]
}