1.1.2 客户同步
开发中
POST
请求参数
Body 参数application/json
code
string
客户code
companyName
string
公司名称
name
string
客户名称
country
string
国家
province
string
州/省份
city
string
城市
address1
string
地址1
address2
string
地址2
zipCode
string
邮编
contacts
string
联系人
phone
string
联系人电话
email
string
邮箱
示例
{
"code": "test",
"companyName": "测试公司",
"name": "测试客户",
"country": "CN",
"province": "重庆",
"city": "重庆",
"address1": "沙坪坝区西园北街888号",
"address2": "",
"zipCode": "400000",
"contacts": "张三丰",
"phone": "18173677003",
"email": "m.gbdxglilg@qq.com"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "test",
"companyName": "测试公司",
"name": "测试客户",
"country": "CN",
"province": "重庆",
"city": "重庆",
"address1": "沙坪坝区西园北街888号",
"address2": "",
"zipCode": "400000",
"contacts": "张三丰",
"phone": "18173677003",
"email": "m.gbdxglilg@qq.com"
}'
返回响应
🟢200成功
application/json
Body
isSuccess
boolean
接口调用是否成功
errorCode
string
异常代码
message
string
异常消息说明
result
object
该字段用于查 询类接口返回数据所用
示例
{
"isSuccess": true,
"errorCode": "string",
"message": "string",
"result": {}
}
修改于 2024-11-22 08:45:28