- 客户订单接口
- 客户基础信息接口
- 承运商接口
- 附录
- 设备接口
产品同步接口
开发中
POST
/dtc/logistics/productCreate
请求参数
Body 参数application/json
createBy
string
客户标识
dataSource
string
来源系统
sign
string
签名
timestamp
string
时间戳
request
object (产品信息)
必需
customerProductCode
string
客户产品编码
customerDescription
string
客户产品名称
englishDesc
string
产品英文描述
barCode
string
商品条码
price
null
Double类型
productBigType
string
产品大类(产品分类)
brand
string
品牌名称
modelName
string
型号名称
color
string
颜色
gift
string
是否赠品
unit
string
单位
longs
null
Double类型
widths
null
Double类型
heights
null
Double类型
weighFlag
string
是否称重
netWeight
null
Double类型
roughWeight
null
Double类型
throwWeight
null
Double类型
throwRatiosX
null
Double类型
throwRatiosY
null
Double类型
guaranteePeriodFlag
string
保质期管控
guaranteeCountType
string
保质期计算类型
guaranteeDays
string
保质期(天)
standardCase
string
最小包装量
batchControl
string
批次管控
remark
string
备注
imei1CollectFlag
string
IMEI1是否采集
imei1Rule
string
IMEI1码规则
imei2CollectFlag
string
IMEI2是否采集
imei2Rule
string
IMEI2码规则
snCollectFlag
string
序列号SN是否采集
snRule
string
序列号SN规则
meidCollectFlag
string
MEID是否采集
meidRule
string
MEID码规则
supplierName
string
供应商名称
supplierAddress
string
供应商地址
示例
{
"createBy": "string",
"dataSource": "string",
"sign": "string",
"timestamp": "string",
"request": {
"customerProductCode": "string",
"customerDescription": "string",
"englishDesc": "string",
"barCode": "string",
"price": null,
"productBigType": "string",
"brand": "string",
"modelName": "string",
"color": "string",
"gift": "string",
"unit": "string",
"longs": null,
"widths": null,
"heights": null,
"weighFlag": "string",
"netWeight": null,
"roughWeight": null,
"throwWeight": null,
"throwRatiosX": null,
"throwRatiosY": null,
"guaranteePeriodFlag": "string",
"guaranteeCountType": "string",
"guaranteeDays": "string",
"standardCase": "string",
"batchControl": "string",
"remark": "string",
"imei1CollectFlag": "string",
"imei1Rule": "string",
"imei2CollectFlag": "string",
"imei2Rule": "string",
"snCollectFlag": "string",
"snRule": "string",
"meidCollectFlag": "string",
"meidRule": "string",
"supplierName": "string",
"supplierAddress": "string"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/dtc/logistics/productCreate' \
--header 'Content-Type: application/json' \
--data-raw '{
"createBy": "string",
"dataSource": "string",
"sign": "string",
"timestamp": "string",
"request": {
"customerProductCode": "string",
"customerDescription": "string",
"englishDesc": "string",
"barCode": "string",
"price": null,
"productBigType": "string",
"brand": "string",
"modelName": "string",
"color": "string",
"gift": "string",
"unit": "string",
"longs": null,
"widths": null,
"heights": null,
"weighFlag": "string",
"netWeight": null,
"roughWeight": null,
"throwWeight": null,
"throwRatiosX": null,
"throwRatiosY": null,
"guaranteePeriodFlag": "string",
"guaranteeCountType": "string",
"guaranteeDays": "string",
"standardCase": "string",
"batchControl": "string",
"remark": "string",
"imei1CollectFlag": "string",
"imei1Rule": "string",
"imei2CollectFlag": "string",
"imei2Rule": "string",
"snCollectFlag": "string",
"snRule": "string",
"meidCollectFlag": "string",
"meidRule": "string",
"supplierName": "string",
"supplierAddress": "string"
}
}'
返回响应
🟢200响应
application/json
Body
code
integer
响应码
message
string
错误说明
flag
boolean
响应标识
value
object
响应内容
示例
{
"code": 200,
"message": "响应成功",
"flag": true
}