帮助中心

第三方平台-智慧门店-会员码识别接口

2020-12-03

接口说明:

智慧门店会员码识别接口。

注:1.此接口供POS调用,AppSystem请使用POS;

        2.此接口需要配置智慧门店回调URL,ApiType为12103,上线前请先找相关开发人员进行配置。

请求说明:

HTTP请求方式:POST

返回数据格式:JSON

请求路径:api/v-taobao/cvip/getbypaycode

请求参数:

字段类型为空长度描述
PayCodestring1~20会员码
SellerNamestring1~20

商家账号nick

如果是单品牌多店铺(EZR只有一个品牌,在天猫有多家旗舰店),则该字段必须传递需要进行识别的店铺nick

返回参数:

字段类型描述
IsTaobaoVipbool是否是智慧门店会员(此项为false时其他字段均为空值)
TaobaoNickstring用户nick
OldCodestring线下会员卡号
MobileNostring手机号
Codestring线上电子卡号
Gradestring等级名称
Namestring姓名
NickNamestring昵称
Sexstring

性别

数据源:

0=未知

1=男

2=女

Birthdaystring生日(yyyy-MM-dd格式)
RegShopstring开卡门店
RegDatestring开卡日期(yyyy-MM-dd格式)
Bonusint可用积分

请求参数示例代码(json对象):

{
    "PayCode": "123456789012345678",
    "SellerName": "br_xxxxx_a"
}

系统级返回结果示例(json):

{
    "Status": true,
    "StatusCode": 200,
    "Msg": "成功",
    "Timestamp": "20150622093101",
    "Sign": "6ECC9BF07C69E80F6D8552FF7B2E7A8FCA2CC80E",
    "Result": 见业务返回结果示例
}

业务返回结果示例(json):

{
    "IsTaobaoVip": true,
    "TaobaoNick": "tb_nick",
    "OldCode": "EZ00001230",
    "MobileNo": "18988888888"
}


2693