{
"orders": [
{
"products": [
{
"count": 1,
"skuCode": "SNxxx",
"spuCode": "SPxxx"
}
],
"orderNumber": "第三方订单号",
"countryCode": "国家二字码",
"deliveryType": "配送方式: 代发货-1, 自提-2",
"expressUrl": "面单url(自提必填,必须以pdf结尾)",
"logisticsCompany": "物流公司编码(自提必填)",
"shipmentNo": "物流单号(自提必填)",
"receiver": {
"telephone": "手机号",
"name": "收件人姓名",
"county": "县区、乡镇名称",
"state": "省、州名称",
"city": "城市名称",
"zipcode": "邮编",
"address": "地址",
"callingCode": "手机区域号"
}
}
]
}curl --location --request POST '/order' \
--header 'x-chw-token;' \
--header 'x-chw-signature;' \
--header 'x-chw-timestamp;' \
--header 'Content-Type: application/json' \
--data-raw '{
"orders": [
{
"products": [
{
"count": 1,
"skuCode": "SNxxx",
"spuCode": "SPxxx"
}
],
"orderNumber": "第三方订单号",
"countryCode": "国家二字码",
"deliveryType": "配送方式: 代发货-1, 自提-2",
"expressUrl": "面单url(自提必填,必须以pdf结尾)",
"logisticsCompany": "物流公司编码(自提必填)",
"shipmentNo": "物流单号(自提必填)",
"receiver": {
"telephone": "手机号",
"name": "收件人姓名",
"county": "县区、乡镇名称",
"state": "省、州名称",
"city": "城市名称",
"zipcode": "邮编",
"address": "地址",
"callingCode": "手机区域号"
}
}
]
}'{
"code": 200,
"message": "SUCCESS",
"data": {
"orders": [
{
"orderNo": "订单号,POxxxx",
"orderNumber": "第三方订单号"
}
]
}
}