1. Pricing
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
  • Pricing
    • Cost Estimation Request
      POST
    • Cost Estimation Response
      POST
  • VAS
    • placeVasOrder
    • queryVasOrderDetail
    • cancelVasOrder
  • Webhook
    • Outbound Callback Webhook Reception
  • return
    • Return 2.0 退货订单开放接口
      • 查询退货订单
      • 获取面单
      • 取消 RMA 订单或同步更新退货跟踪信息
      • 查询退货库存快照
      • 关联退件库存商品
      • Erp提交订单
    • Auth
      • 获取AccessToken
    • 财务明细接口
      • 费用明细查询
  1. Pricing

Cost Estimation Request

Sandbox
https://openapi-stage-hk.orangeconnex.com/openapi
Sandbox
https://openapi-stage-hk.orangeconnex.com/openapi
POST
/calculate/v1/freightTrial
Each request is regarded as a parcel, one parcel could include multiple SKUs and different quantities.
Input the fulfillment center, consignee address info, seller OCSKUID or parcel dimension and weight.
In the Parcel, if SKUType is OCSKUID, parcel dimension and weight is not required. If the SKUType is not OCSKUID, the parcel dimension and weight are required.
Each request should have a unique referenceid. Get result by referenceid later.

Request

Header Params

Body Params application/json

Example
{
  "apiVersion": "",
  "data": {
    "companyName": "test",
    "consigneeAddress1": "test",
    "consigneeAddress2": "test",
    "consigneeCity": "test",
    "consigneeCountryCode": "AU",
    "consigneeEmail": "test@test.com",
    "consigneeName": "Amy Test",
    "consigneePhone": "5700011111",
    "consigneePostCode": "4610",
    "consigneeProvinceOrState": "test",
    "houseNumber": "202",
    "intlSelfPayment": true,
    "mfservice": true,
    "referenceId": "16957823453791",
    "serviceRegion": "AU",
    "serviceType": "EF",
    "shippingServiceCode": [],
    "skuList": [
      {
        "height": 15,
        "length": 10,
        "pieceQuantity": 1,
        "polybag": "true",
        "siop": false,
        "skuId": "OC0000250294068",
        "weight": 1000,
        "width": 2,
        "withBattery": false
      }
    ],
    "skuType": true,
    "warehouseRegionCode": "AU"
  },
  "messageId": "7891955650647900161",
  "timestamp": 0
}

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' \
--header 'clientKey;' \
--header 'vAuthorization;' \
--header 'Access-Token;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "apiVersion": "",
  "data": {
    "companyName": "test",
    "consigneeAddress1": "test",
    "consigneeAddress2": "test",
    "consigneeCity": "test",
    "consigneeCountryCode": "AU",
    "consigneeEmail": "test@test.com",
    "consigneeName": "Amy Test",
    "consigneePhone": "5700011111",
    "consigneePostCode": "4610",
    "consigneeProvinceOrState": "test",
    "houseNumber": "202",
    "intlSelfPayment": true,
    "mfservice": true,
    "referenceId": "16957823453791",
    "serviceRegion": "AU",
    "serviceType": "EF",
    "shippingServiceCode": [],
    "skuList": [
      {
        "height": 15,
        "length": 10,
        "pieceQuantity": 1,
        "polybag": "true",
        "siop": false,
        "skuId": "OC0000250294068",
        "weight": 1000,
        "width": 2,
        "withBattery": false
      }
    ],
    "skuType": true,
    "warehouseRegionCode": "AU"
  },
  "messageId": "7891955650647900161",
  "timestamp": 0
}'

Responses

🟢200OK
application/json
Bodyapplication/json

Examples
{"code":1,"message":"Authentication Fail:clientKey missing"}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Modified at 2023-11-30 02:58:57
Previous
GetServiceList
Next
Cost Estimation Response
Built with