会员互通业务,查询用户在商家处的会员信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| extension | String | 可选 | {"xxx":1} | 扩展字段 | |
| trace_id | String | 可选 | xxx | 日志轨迹ID | |
| fliggy_user_name | String | 必须 | ABCD |
|
飞猪会员唯一标识 |
| remarks | String | 可选 | the request is test | 请求备注 | |
| channel_id | String | 可选 | 1234 | 渠道号 | |
| partner_member_id | String | 必须 | 0x1234 |
|
商家会员唯一标识 |
| unix_timestamp | Number | 必须 | 1554900149 | Unix时间戳,单位秒 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result_code | String | SUCCESS | 错误码 |
| result_message | String | ok | 错误信息 |
| data | MemberInfo | 商家会员信息对象 | |
|
{"extension":"{\"xxx\":1}","trace_id":"xxx","unix_timestamp":1554900149,"source":"","fliggy_user_name":"ABCD","channel_id":"1234","request_id":"","remarks":"the request is test","partner_member_id":"0x1234"}
{
"result_code":"SUCCESS",
"result_message":"ok",
"data":{
"extension":"{\"xxx\":1}",
"point":100,
"card_level":"V1",
"card_number":"0x1234",
"effective_date":1546272000,
"expire_date":1577808000,
"customer_id":"0m231",
"customer_status":1,
"remarks":"xxx interflow",
"card_status":"正常"
}
}
{"result_message":"Illegal request","result_code":"sign-check-failure"}
| 错误码 | 错误描述 | 解决方案 |
|---|