Skip to content

Get Member Data With Card

Description

透過虛擬卡號取得會員資料。

Resource

GET /v1/user/user_data_with_card

Authorization

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

Query Parameters

Name Type Description
card_no string 會員虛擬卡號

Request Example

GET /v1/line_status?card_no=T5mcTvHSAhS0VjYOxOdiW7vfPJqG

Response Body Parameters

Name Type Description
id String 會員ID
name String 姓名
zip String 郵遞區號
address String 地址
telephone String 電話
sex String 性別
ALLOWED VALUES:
  • male:男
  • female:女
  • unknown:未設定
birthday String 生日
email String 信箱
mobile String 手機號碼
group_id String 會員群組ID
group_name String 會員群組名稱
card_no String 會員卡卡號
phone_carrier string 手機載具
tax_id_number string 統一編號
points int 會員持有點數
Invitation_code string 邀請碼
seal_quantity int 集章數量
(optional)
會員沒有集章數量資訊時,將不會回傳此參數.
points_exchanged_amount int 點數兌換金額
token string 金鑰

Response

{
    "id": "021100543",
    "name": "Jane",
    "zip": null,
    "address": "台北市大安區復興南路二段171巷20號1樓",
    "telephone": "0227006275#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": "",
    "tax_id_number": "",
    "Invitation_code": "6vq4tt",
    "seal_quantity": 0,
    "points_exchanged_amount": 10,
    "token": "JtUgk1eOigrvj0BqdhMlaGqJJvolKec3stmGcnkAyGs2huBw0efboIEDiqrh+FBl2LY6J0Y/xgxWnssfKlV3GLS6osqhrrAiQNvFyYNq9vhAw9YMUJqXJDB+sWYPBzlhD+IiDajQbN/FwMNeGUDGZFAyrS3hiCR27zRMJyQHBOro+O4bQqNjUxPoqSKZ4HK1b/rb24MxbFuvfCT0mHZ05QFkkPZd52Rv19+SXbLQQUpXU0GilQN0Hjyg5FEzSHSR2tE3Tc7uaXVuSlObZ39iXVxY4jSL/GY/bqwDVS7+ckUXbixaAtfH9iagJzHzFkSj"
}