Register Member
Function
会员注册
Endpoint
- /v1/member/register
HTTP Method
- POST
Request Body
{
"mall_id": "DP01",
"last_name_en": "Zhang",
"first_name_en": "Three",
"last_name_zh": "张",
"first_name_zh": "三",
"gender": "M",
"birthday_year": "2000",
"birthday_month": "1",
"birthday_day": "1",
"age_group": "02",
"marital_status": "0",
"had_child": "1",
"child_age_group": ["01"],
"email": "123456@test.com",
"phone_number": "88123456",
"phone_region": "852",
"country": "100001",
"province": "100001001",
"address": "",
"language":"01",
"is_phone_auth": "1",
"promo_code":"",
"one_id": "",
"agree_statement": "1",
"agree_tier_matching":"1",
"pipl_1_agree": "1",
"pipl_3_sensitive": "1",
"pipl_4_transfer": "1",
"pipl_5_3rd": "1",
"pipl_6_optin": "1",
"pipl_7_direct_optin": "1",
"title": "03",
"reg_channel":"WebOnApps",
"pipl_consent_version":"general",
"agree_minor":"0"
}
Request Parameters
| Field | Required | Type | Remark | Sample |
|---|---|---|---|---|
| mall_id | Yes | string | 註冊地 | DP01 |
| last_name_en | Yes | string | 英文姓氏(last_name) | Zhang |
| first_name_en | Yes | string | 英文名(first_name) | Three |
| last_name_zh | No | string | 中文姓氏(last_name) | 张 |
| first_name_zh | No | string | 中文名(first_name) | 三 |
| gender | Yes | string | 性别: M(男)、F(女) | M |
| birthday_year | No | string | 生日-年 | 1990 |
| birthday_month | No | string | 生日-月 | 1 |
| birthday_day | No | string | 生日-日 | 1 |
| age_group | No | string | 年齡組 | 02 |
| marital_status | No | string | 婚姻狀態 ,0=>未婚, 1=>已婚 , 2=>其它 | 1 |
| had_child | No | string | 是否有小孩: 0没有,1有,2不适用 | 1 |
| child_age_group | No | [string] | 小孩年齡組 | ["01"] |
| Yes | string | xxx@xxx.xxx | ||
| phone_number | Yes | string | 手機號碼 | 8XXXX |
| phone_region | Yes | string | 手机區號 | 852 |
| is_phone_auth | No | string | 手機號是否認證 ,1=>yes , 0=>no | 1 |
| country | No | string | 居住地 , 默認= 100001(Hong Kong) | 100001 |
| province | No | string | 地區 | |
| address | No | string | 地址 | |
| language | No | string | 語言 | 01 |
| promo_code | No | string | PromoCode | |
| one_id | No | string | 1ID | |
| agree_statement | No | string | 1同意0否,本人同意接收来自DPCSL/DP Club的最新资讯及优惠讯息 | 1 |
| agree_tier_matching | No | string | 1同意0否, 本人同意接收来自DPCSL/DP Club关联公司和营销合作伙伴的最新资讯及优惠讯息 | 1 |
| pipl_1_agree | No | string | 1同意0否, 本人理解上述及愉景新城商业服务有限公司的私隐政策声明、新世界集团的私隐政策声明、个人资料收集声明及附录中的全部内容,并同意根据上述有关目的对本人的个人信息的收集、使用及处理 | 1 |
| pipl_3_sensitive | No | string | 1同意0否, 本人同意根据上述有关目的对本人的敏感个人信息的收集及处理 | 1 |
| pipl_4_transfer | No | string | 1同意0否, 本人同意将本人的个人信息(包括敏感个人信息)转移至中国内地以外地区 | 1 |
| pipl_5_3rd | No | string | 1同意0否, 本人同意向第三方提供本人的个人信息(包括敏感个人信息) | 1 |
| pipl_6_optin | No | string | 1同意0否,本人同意愉景新城商业服务有限公司向新世界集团的关联公司及营销合作伙伴共享本人的个人信息,以便在香港和香港以外地区用于直接促销和跨业直销目的 | 1 |
| pipl_7_direct_optin | No | string | 1同意,0否, 本人同意接受愉景新城商业服务有限公司的直接促销,并同意其将本人的个人信息用于直接促销目的 | 1 |
| title | No | string | 稱謂 | 03 |
| reg_channel | Yes | string | 注册渠道,对应FZ XF_TRADESOURCES | WebOnApps |
| pipl_consent_version | No | string | general / minor (general: age >= 18, minor: age < 18) (*DPARK no minor now) | general |
| agree_minor | No | string | 1同意,0否 | 1 |
Response Body - Success
{
"code": 0,
"msg": "success",
"data":{
"vip_accountno":"048000037349XXXXX",
"vip_code":"048000037349XXXXX"
}
}
註冊成功,返回vip_accountno、vip_code
Diff FZ API
FZ API : RegisterMember
| FZ | New | Remark |
|---|---|---|
| strCallUserCode | / | |
| strCallPassword | / | |
| strGrade | / | |
| strRequested | / | |
| strIssueStore | mall_id | |
| strEngFamilyName | last_name_en | |
| strEngName | first_name_en | |
| strChnFamilyName | last_name_zh | |
| strChnName | first_name_zh | |
| strNameOnCard | / | |
| strSex | gender | |
| strBirthdayyyyy | birthday_year | |
| strBirthdaymm | birthday_month | |
| strBirthdaydd | birthday_day | |
| strAgeGroup | age_group | |
| strCertificateType | / | |
| strVipId | / | |
| strMaritalStatus | marital_status | |
| strAverageConsumer | / | |
| strHadChild | had_child | |
| strChildAgeGroup | child_age_group | 調整為數組 |
| strVipEmail | ||
| strTelephone | phone_number | |
| strContinent | / | |
| strCountry | country | |
| strPostal | / | |
| strProvince | province | |
| strCity | / | |
| strZone | / | |
| strAddress1 | address | |
| strAddress2 | / | |
| strAddress3 | / | |
| strIsAgreeStatement | agree_statement | |
| strInformalMember | / | |
| strLanguage | language | |
| strTelephoneCountryCode | phone_region | |
| strIsPhoneAuthentication | is_phone_auth | |
| strLikeProduct | / | |
| strLikeProductOther | / | |
| strInterest | / | |
| strInterestOther | / | |
| strFacebookID | / | |
| strWechatID | / | |
| strReferences | / | |
| strKidsclub1 | / | |
| strKidsclub2 | / | |
| strKidsclub3 | / | |
| strKidsclub4 | / | |
| strKidsclub5 | / | |
| strPromoCode | promo_code | |
| strAgreeTierMatching | agree_tier_matching | |
| strOneloginId | one_id | |
| CNPIPL_1_AGREE | pipl_1_agree | |
| CNPIPL_2_CONSENT | / | |
| CNPIPL_3_SENSITIVE | pipl_3_sensitive | |
| CNPIPL_4_TRANSFER | pipl_4_transfer | |
| CNPIPL_5_3RD | pipl_5_3rd | |
| CNPIPL_6_OPTIN | pipl_6_optin | |
| CNPIPL_7_DIRECT_OPTIN | pipl_7_direct_optin | |
| consent_version | consent_version | |
| agree_minor | agree_minor | |
| strTitle | title | |
| / | reg_channel |
UAT FZ API Response
{
"Return": {
"Success": {
"ReturnCode": "0",
"Description": "注册成功",
"VipCode": "0480000427741101",
"VipAccountNo": "0480000427741101"
}
}
}