用于创建面单
{
"orderType": 1,
"referenceNo": "referenceNo",
"shippingMethodCode": "shippingMethodCode",
"trackingNo": "trackingNo",
"length": 60,
"width": 67,
"height": 58,
"weight": 26,
"packageQty": 80,
"isSign": 1,
"signType": 1,
"isInsure": 1,
"insurePrice": 17.45,
"remark": "remark",
"fromAddress": {
"companyName": "companyName",
"contactName": "contactName",
"contactMobile": "contactMobile",
"contactCellMobile": "contactCellMobile",
"contactEmail": "tbfv9r_q98@139.com",
"countryCode2": "countryCode2",
"province": "province",
"city": "city",
"district": "district",
"doorplate": "doorplate",
"address": "address",
"postcode": "postcode"
},
"toAddress": {
"companyName": "companyName",
"contactName": "contactName",
"contactMobile": "contactMobile",
"contactCellMobile": "contactCellMobile",
"contactEmail": "contactEmail",
"countryCode2": "countryCode2",
"province": "province",
"city": "city",
"district": "district",
"doorplate": "doorplate",
"address": "address",
"postcode": "postcode"
},
"itemDTOs": [
{
"productSku": "productSku",
"declareName": "declareName",
"declareNameEn": "declareNameEn",
"declareValue": 9991,
"qty": 12,
"weight": 1
}
]
}curl --location --request POST '/open/label-data/create' \
--header 'Authorization: {{api_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderType": 1,
"referenceNo": "referenceNo",
"shippingMethodCode": "shippingMethodCode",
"trackingNo": "trackingNo",
"length": 60,
"width": 67,
"height": 58,
"weight": 26,
"packageQty": 80,
"isSign": 1,
"signType": 1,
"isInsure": 1,
"insurePrice": 17.45,
"remark": "remark",
"fromAddress": {
"companyName": "companyName",
"contactName": "contactName",
"contactMobile": "contactMobile",
"contactCellMobile": "contactCellMobile",
"contactEmail": "tbfv9r_q98@139.com",
"countryCode2": "countryCode2",
"province": "province",
"city": "city",
"district": "district",
"doorplate": "doorplate",
"address": "address",
"postcode": "postcode"
},
"toAddress": {
"companyName": "companyName",
"contactName": "contactName",
"contactMobile": "contactMobile",
"contactCellMobile": "contactCellMobile",
"contactEmail": "contactEmail",
"countryCode2": "countryCode2",
"province": "province",
"city": "city",
"district": "district",
"doorplate": "doorplate",
"address": "address",
"postcode": "postcode"
},
"itemDTOs": [
{
"productSku": "productSku",
"declareName": "declareName",
"declareNameEn": "declareNameEn",
"declareValue": 9991,
"qty": 12,
"weight": 1
}
]
}'{
"code": "20000",
"success": true,
"data": {
"orderNo": "LO25090906605685",
"referenceNo": "LO25090906605685",
"trackingNo": "",
"length": 1.00,
"width": 1.00,
"height": 1.00,
"weight": 1.000,
"isSign": -1,
"isInsure": -1,
"insurePrice": 0.00,
"status": 1,
"isSyncToSupplier": -1,
"remark": ""
},
"message": "请求成功",
"errors": [],
"timestamp": "1757406602853",
"duration": 0.508,
"requestId": "3cad747f158448f6949d504ee70d5a72"
}