Get Member Data
Description
取得會員資料。
Resource
GET /v2/user
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| id | String | 會員ID |
| name | String | 姓名 |
| zip | String | 郵遞區號 |
| city | string | 居住城市 (optional) |
| district | string | 居住區域 (optional) |
| address | String | 地址 |
| area_code | string | 市話區碼 (optional) |
| telephone | String | 電話 |
| extension_number | string | 分機號碼 (optional) |
| sex | String | 性別 ALLOWED VALUES:
|
| birthday | String | 生日 |
| String | 信箱 | |
| mobile | String | 手機號碼 |
| group_id | String | 會員群組ID |
| group_name | String | 會員群組名稱 |
| card_no | String | 會員卡卡號 |
| phone_carrier | string | 手機載具 |
| points | int | 會員持有點數 |
| Invitation_code | string | 邀請碼 |
| edm_subscription_enabled | boolean | 是否訂閱EDM (optional) |
| seal_quantity | int | 集章數量 (optional) 會員沒有集章數量資訊時,將不會回傳此參數. |
| points_exchanged_amount | int | 點數兌換金額 |
| is_blacklist | boolean | 是否為黑名單 |
| memo | string | 備註 |
Response
{
"id": "021100543",
"name": "Jane",
"zip": null,
"city": "台北市",
"district": "大安區",
"address": "復興南路二段171巷20號1樓",
"area_code": "02",
"telephone": "27006275",
"extension_number": "#20",
"sex": "Female",
"birthday": "2020-01-01T00:00:00",
"email": "[email protected]",
"mobile": "0987654321",
"points": "100",
"group_id": "APP",
"group_name": "品牌APP會員",
"card_no": "",
"phone_carrier": "",
"Invitation_code": "6vq4tt",
"edm_subscription_enabled": false,
"seal_quantity": 0,
"points_exchanged_amount": 10,
"is_blacklist": false,
"memo": ""
}