参数 | 参数说明 |
---|---|
position | 一段码 |
position_no | 二段码和三段码 |
tp_status | 四段码 |
package_wdjc | 集包地 |
货币 | 货币代码 |
---|---|
Australia | AUD |
Brazil | BRL |
Canada | CAD |
Switzerland | CHF |
China | CNY |
Denmark | DKK |
Eurozone | EUR |
United Kingdom | GBP |
Hong Kong | HKD |
Indonesia | IDR |
Israel | ILS |
India | INR |
Japan | JPY |
South Korea | KRW |
Malaysia | MYR |
New Zealand | NZD |
Philippines | PHP |
Russia | RUB |
Singapore | SGD |
Thailand | THB |
Taiwan | TWD |
United States | USD |
Vietnam | VND |
字段描述 | 危险品类别代码 |
---|---|
Does not contain Lithium Batteries | 00 |
Non Rechargeable batteries in Item | 01 |
Lithium Batteries packed with item | 02 |
Lithium Batteries Only | 03 |
Lithium Batteries in item | 04 |
Rechargeable Batteries packed with item | 05 |
Rechargeable Batteries only | 06 |
curl --location --request POST 'https://openapi.yundaex.com/openapi-api/outer/api/v1/order/push' \
--header 'app-key;' \
--header 'sign;' \
--header 'req-time;' \
--header 'Content-Type: application/json' \
--data-raw '{
"appid": "999999",
"partner_id": "201700101001",
"secret": "123456789",
"orders": [
{
"collect_branch": "",
"collection_value": 126.5,
"cus_area1": "",
"cus_area2": "",
"isProtectPrivacy": "",
"items": [
{
"name": "衣服",
"number": 1,
"remark": "袜子"
}
],
"khddh": 2012121715001,
"node_id": "350",
"order_serial_no": 2012121715001,
"order_type": "common",
"platform_source": "",
"receiver": {
"address": "上海市,青浦区,盈港东路 6679 号",
"city": "上海市",
"company": "",
"county": "青浦区",
"mobile": "17601206977",
"name": "李四",
"province": "上海市"
},
"remark": "",
"sender": {
"address": "上海市,青浦区,盈港东路 7766 号",
"city": "上海市",
"company": "",
"county": "青浦区",
"mobile": "17601206977",
"name": "张三",
"province": "上海市"
},
"size": "0.12,0.23,0.11",
"special": 0,
"value": 126.5,
"weight": 0,
"multi_pack": {
"mulpck": "",
"total": 0,
"endmark": 0
},
"markingInfos": [
{
"type": "INSURED",
"markingValue": {
"value": 2100
}
},
{
"type": "DF",
"markingValue": {
"value": 15
}
},
{
"type": "COD",
"markingValue": {
"value": 15
}
},
{
"type": "RETURN",
"markingValue": {
"value": "1,2"
}
},
{
"type": "PRI"
},
{
"type": "VIR"
},
{
"type": "MUL",
"markingValue": {
"value": 10
}
},
{
"type": "CONTACT"
}
]
}
]
}'
{
"result": false,
"code": "7777",
"message": "内部接口服务失败",
"sub_code": "s10",
"sub_msg": "参数校验不合法"
}