类型值类型 | 说明 |
---|---|
1 | 单行文本 |
2 | 单选。有限定待选值 |
3 | 日期 |
4 | 数值 |
5 | 多行文本 |
6 | 多选。有限定待选值 |
7 | 日期时间 |
8 | 电话号码 |
{}
curl --location --request POST '/api/v2/customer/list-fields' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{}'
{
"code": 0,
"message": "success",
"data": {
"fields": [
{
"id": 429,
"name": "电话",
"type": 8,
"outerField": null,
"stable": true,
"customerImportRequired": true
},
{
"id": 436,
"name": "性别",
"type": 2,
"outerField": null,
"items": [
{
"id": 0,
"name": "其它"
},
{
"id": 1,
"name": "男"
},
{
"id": 2,
"name": "女"
}
],
"stable": true,
"customerImportRequired": false
},
{
"id": 355,
"name": "生日",
"type": 3,
"outerField": null,
"stable": false,
"customerImportRequired": false
}
]
}
}