1. Outbound
Open-API
  • eBay fulfillment openAPI
  • OAuth
    • URL(getAuthorizationCode)
      GET
    • AccessToken
      POST
    • Refresh AccessToken
      POST
  • SKU
    • SKUCreation v3
      POST
    • SKUQuery v3
      POST
    • SKU Label
      POST
    • SKUSetupEFService
      POST
    • QuerySKUEFService
      POST
  • Stock
    • GetStockMovement
      POST
    • StockSnapshot v2
      POST
    • GetStockAge
      POST
  • Inbound
    • PlaceInboundOrder
      POST
    • Inbound Order List Query
      POST
    • Inbound Order Detail Query
      POST
    • Inbound Label Query
      POST
    • Upload TrackingNo
      POST
    • Upload Clearance Doc
      POST
  • Outbound
    • Place Outbound Order
      POST
    • Outbound Order Query v2
      POST
    • Outbound Order Cancellation
      POST
    • placeThirdPartyLabelOrder
      POST
    • 同步运费试算接口
      POST
  • Warehouse
    • GetServiceList
      GET
  • Pricing
    • Cost Estimation Request
    • Cost Estimation Response
  • VAS
    • placeVasOrder
    • queryVasOrderDetail
    • cancelVasOrder
  • Webhook
    • Outbound Callback Webhook Reception
  • return
    • Return 2.0 退货订单开放接口
      • 查询退货订单
      • 获取面单
      • 取消 RMA 订单或同步更新退货跟踪信息
      • 查询退货库存快照
      • 关联退件库存商品
      • Erp提交订单
    • Auth
      • 获取AccessToken
    • 财务明细接口
      • 费用明细查询
  1. Outbound

同步运费试算接口

Sandbox
https://openapi-stage-hk.orangeconnex.com/openapi
Sandbox
https://openapi-stage-hk.orangeconnex.com/openapi
POST
/calculate/v1/freightTrial/synced
同步运费试算接口

Request

Body Params application/json

Example
{
    "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"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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"
    }
}'

Responses

🟢200
application/json
Bodyapplication/json

Example
{
    "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"
        }
    ]
}
Modified at 2026-06-29 09:49:27
Previous
placeThirdPartyLabelOrder
Next
GetServiceList
Built with