创建/升级会员
测试环境
测试环境
POST
/open/v1/crm/createOrUpgradeMember
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gldopenapi.keruyun.com/open/v1/crm/createOrUpgradeMember?appKey=&shopIdenty=&brandId=&version=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerId": 800000095,
"customerMainId": 800000095,
"loginType": 0,
"loginId": "18980808088",
"consumePwd": "098f6bcd4621d373cade4e832627b4f6",
"birthday": 1475116492,
"sex": 1,
"name": "李华",
"environmentHobby": "喜欢安静",
"memo": "",
"invoiceTitle": "",
"email": "adsad@asd.com",
"address": "",
"groupId": "",
"wxIconUrl": "",
"attentionWxTime": 1475116492
}'
响应示例响应示例
{
"code": 1,
"result": {
"brandId": 6339,
"commercialId": 89877,
"customerId": 800000095,
"customerMainId": 800000095,
"userId": -777,
"source": 16,
"loginType": 0,
"loginId": "18980808088",
"birthday": 1475116492,
"sex": 1,
"name": "李华",
"environmentHobby": "喜欢安静",
"memo": "",
"invoiceTitle": "",
"email": "adsad@asd.com",
"address": "",
"groupId": "",
"wxIconUrl": "",
"isDisable": 1
}
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
shopIdenty
string
必需
默认值:
{{shopIdenty}}
brandId
string
必需
默认值:
{{brandId}}
version
string
必需
默认值:
2.0
timestamp
string
必需
默认值:
{{timestamp}}
sign
string
必需
默认值:
{{sign}}
Body 参数application/json
返回响应
修改于 2021-12-16 06:36:24