自定义字段映射
POST
/order/profile-fields/map
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
channelId
string
平台id
fieldId
integer
字段id
alias
string
别名
示例
{
"channelId": "12306",
"fieldId": 1191,
"alias": "testname"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/order/profile-fields/map' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"channelId": "12306",
"fieldId": 1191,
"alias": "testname"
}'
返回响应
🟢200成功
application/json
Body
code
integer
示例:0
message
string
必需
示例
{
"code": 0,
"message": "success"
}
修改于 2022-02-15 07:16:56