{
"timestamp": 0,
"messageId": "string",
"apiVersion": "string",
"data": {
"referenceId": "string",
"skuType": true,
"skuList": [
{
"skuId": "string",
"siop": false,
"withBattery": false,
"isPolybag": false,
"packingSolution": 0,
"vasCode": 0,
"weight": 0,
"length": 0,
"width": 0,
"height": 0,
"pieceQuantity": 0
}
],
"serviceType": "EF",
"isMFService": false,
"isIntlSelfPayment": true,
"serviceRegion": "string",
"shippingServiceCode": [
"string"
],
"companyName": "string",
"consigneeName": "string",
"houseNumber": "string",
"consigneeAddress1": "string",
"consigneeAddress2": "string",
"consigneeCity": "string",
"consigneeProvinceOrState": "string",
"consigneeCountryCode": "string",
"consigneePostCode": "string",
"consigneePhone": "string",
"consigneeEmail": "string",
"warehouseRegionCode": "string",
"mfCountry": "string",
"vasCode": "string",
"warehouseCode": "string"
}
}curl --location 'https://openapi-stage-hk.orangeconnex.com/openapi/calculate/v1/freightTrial/synced' \
--header 'Content-Type: application/json' \
--data '{
"timestamp": 0,
"messageId": "string",
"apiVersion": "string",
"data": {
"referenceId": "string",
"skuType": true,
"skuList": [
{
"skuId": "string",
"siop": false,
"withBattery": false,
"isPolybag": false,
"packingSolution": 0,
"vasCode": 0,
"weight": 0,
"length": 0,
"width": 0,
"height": 0,
"pieceQuantity": 0
}
],
"serviceType": "EF",
"isMFService": false,
"isIntlSelfPayment": true,
"serviceRegion": "string",
"shippingServiceCode": [
"string"
],
"companyName": "string",
"consigneeName": "string",
"houseNumber": "string",
"consigneeAddress1": "string",
"consigneeAddress2": "string",
"consigneeCity": "string",
"consigneeProvinceOrState": "string",
"consigneeCountryCode": "string",
"consigneePostCode": "string",
"consigneePhone": "string",
"consigneeEmail": "string",
"warehouseRegionCode": "string",
"mfCountry": "string",
"vasCode": "string",
"warehouseCode": "string"
}
}'{
"success": true,
"code": 0,
"messageId": "string",
"message": "string",
"data": [
{
"calculateId": "string",
"productOuterCode": "string",
"productOuterName": "string",
"freightTrialChannelResults": [
{
"productOuterCode": "string",
"productOuterName": "string",
"channelCode": "string",
"orderPackageInfos": [
{
"packageType": 0,
"packageCode": "string",
"packageName": "string",
"packageLength": 0,
"packageWidth": 0,
"packageHeight": 0,
"packageWeight": 0,
"packageWeightUnit": "g",
"lengthUnit": "cm",
"volumeUnit": "CBC",
"totalWeight": 0,
"totalVolume": 0,
"hasBattery": 0,
"totalSkuWeight": 0,
"skuInfoList": [
{
"skuId": "string",
"sellerSkuId": "string",
"skuName": "string",
"quantity": 0,
"hasBattery": true,
"batteryType": 0,
"batteryFrom": 0,
"pureBattery": true,
"ownPackage": true,
"weight": 0,
"weightUnit": "string",
"length": 0,
"height": 0,
"width": 0,
"lengthUnit": "string",
"declareAmount": 0,
"declareAmountCurrency": "string",
"transactionAmount": 0,
"transactionCurrency": "string",
"selfPay": true,
"packageCode": "string",
"packageType": 0,
"specialAttribute": 0,
"packagePreferences": 0,
"isFragile": false,
"isIndividuallyPackaged": false
}
],
"chargeFeeInfoList": [
{
"revenueItemCode": "string",
"revenueItemName": "string",
"totalFee": 0,
"currency": "string",
"detailResults": [
{
"priceCardCode": null,
"revenueItemName": null,
"revenueItemCode": null,
"revenueSubItemCode": null,
"revenueSubItemName": null,
"fee": null,
"currency": null,
"totalDiscountFee": null,
"totalAfterDiscount": null,
"tax": null,
"taxInclusiveFee": null,
"originalFee": null,
"totalFee": null
}
],
"totalDiscountFee": 0,
"totalAfterDiscount": 0,
"tax": 0,
"taxInclusiveFee": 0,
"originalFee": 0
}
],
"totalFee": "new BigDecimal(\"0\")",
"totalDiscountFee": "new BigDecimal(\"0\")",
"currency": "string",
"transport": "string",
"pkgType": {
"typeCode": "string",
"typeName": "string",
"remark": "string"
},
"packageGirth": 0,
"ruleVolumeCalculateFormulaCodeId": "string",
"ruleVolumeCalculateFormulaCode": "string",
"ruleTotalVolumeWeight": 0,
"ruleTotalChargeWight": 0,
"volumeCalculateFormulaCodeId": "string",
"volumeCalculateFormulaCode": "string",
"totalVolumeWeight": 0,
"totalChargeWight": 0,
"totalAfterDiscount": 0,
"tax": 0,
"taxInclusiveFee": 0,
"originalFee": 0
}
],
"totalFee": 0,
"currency": "string",
"errorMessage": "string",
"success": true,
"zoneCode": "string",
"totalDiscountFee": 0,
"totalAfterDiscount": 0,
"tax": 0,
"taxInclusiveFee": 0,
"originalFee": 0
}
],
"ebayFee": 0,
"noEbayFee": 0,
"success": true
}
],
"errors": [
{
"id": "string",
"code": "string",
"message": "string",
"referenceNumber": "string"
}
]
}