Skip to content

Get MGM

Description

取得邀請碼列表。

Resource

GET /v1/user/mgm

Authorization

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

Request Example

GET /v1/user/mgm

Response

{
  "mgm": [
    {
      "id": "1",
      "name": "天天里仁活動邀請碼",
      "code": "689FC6",
      "detail": "<p>天天里仁活動的內容</p>",
      "image_url": "http://kiosk.lafresh.com.tw:8080/kiosk/apptest2/public/referral_code/28.jpg"
    },
    {
      "id": "2",
      "name": "健康久久活動邀請碼",
      "code": "98DXG7",
      "detail": "<p>健康久久活動的內容</p>",
      "image_url": "http://kiosk.lafresh.com.tw:8080/kiosk/apptest2/public/referral_code/28.jpg"
    }
  ]
}

Response Body Parameters

Name Type Description
mgm MGM 活動邀請碼

Response Body Parameters - MGM

Name Type Description
id string 編號
name string 活動名稱
code string 活動邀請碼
detail string 活動邀請碼內容
image_url string 圖片路徑