Open-API
  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
  • 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
  • Warehouse
    • GetServiceList
      GET
  • Pricing
    • Cost Estimation Request
      POST
    • Cost Estimation Response
      POST
  • Schemas
    • Schemas
      • AccessToken Response
      • RefreshToken Response
      • SkuLabelItemVO
      • 3PP 查询SKU 响应结果的元素
      • SkuCreationResponseV1
      • SkuLabelPrintFor3ppResponse
      • SKU info
      • CommonVendorRequestDto«SkuQueryRequestV2»
      • SkuEFDomesticService
      • 3PP SKU label print request dto
      • ExternalSkuQueryResultSkuNameDTO
      • CommonVendorRequestDto«3PP SKU label print»
      • SKUPictureURL
      • 3PP SKU label print
      • ExternalEBayID
      • ExternalSkuJoinEfDTO
      • ExternalServiceRegion
      • ExternalCountry
      • CustomResponse
      • SkuBarDto
      • CommonVendorRequestDto«SkuQueryRequestV3»
      • SkuEFFulfillmentCenter
      • SKU query0
      • CommonVendorResponseDto«List«SkuCreationResponseV1»»
      • SkuEFInternationalService
      • CommonVendorResponseErrorMsgDto
      • SkuQueryRequestV2
      • SkuQueryRequestV3
      • SkuEFInternationalServiceChild
      • ExternalSkuIdDTO
      • SkuEFDomesticServiceChild
      • CommonVendorResponseDto«List«SkuQueryResponseV3»»
      • 3PP Query SKU EF Service
      • HsCodeDestinationCountry
      • CommonVendorRequestDto«List«SKU info»»
      • SKU query
      • CommonVendorRequestDto«3PP Query SKU EF Service»
      • ExternalShippingServiceRegion
      • CommonVendorResponseDto«List«3PP 查询SKU 响应结果的元素»»
      • EF3ppMFSkuRequest
      • EF3ppSkuService
      • CommonVendorResponseDto«List«CustomResponse»»
      • CommonVendorResponseDto«string»
      • CommonVendorRequestDto«List«SkuCreationRequestV3»»
      • ExternalSkuQueryResultPictureUrlDTO
      • ReferenceSkuIdDTO
      • CommonVendorRequestDto«SKU query»
      • ExternalInternationalService
      • ExternalSkuNameDTO
      • ExternalDomesticService
      • CommonVendorRequestDto«ExternalSkuJoinEfDTO»
      • CommonVendorResponseDto«SkuLabelPrintFor3ppResponse»
      • MfSkuIdDTO
      • SkuCreationRequestV3
      • SkuQueryResponseV2
      • SkuQueryResponseV3
      • SellerSkuIdDTO
      • SkuEFEbayService
      • CommonVendorResponseDto«List«SKU query»»
      • ExternalFileDTO
      • CommonVendorResponseDto«List«SkuQueryResponseV2»»
      • stockReq
      • ExternalServiceRegionDTO
      • stockRes
      • ExternalInventoryDTO
      • sku inventory
      • stock v2Req
      • stock v2Res
      • CommonVendorResponseDto«stock v2»
      • ExternalMovementDTO
      • CommonVendorRequestDto«List«stock»»
      • CommonVendorRequestDto«stock v2»
      • CommonVendorResponseDto«List«stock»»
      • stock movement request info
      • ServiceRegionDTO
      • CommonVendorRequestDto«stock movement request info»
      • CommonVendorRequestDto«ExternalInboundOrderQueryInfoRequestDto»
      • Order Shipment No File
      • Response of create inbound order
      • ExternalInboundOrderQueryAsnDto
      • Inbound order list
      • ExternalInboundOrderQueryBatchResponseDTO
      • ExternalInboundOrderQuerySKUResponseDTO
      • ExternalInboundOrderCartonDto
      • Clearance document type
      • ExternalInboundOrderQueryLabelInboundRequestDto
      • Response of query inbound order detail
      • CommonVendorResponseDto«Response of query inbound label»
      • ExternalInboundOrderQueryInfoRequestDto
      • CommonVendorRequestDto«Inbound order Clearance File»
      • Batch number and status of inbound order batch
      • CommonVendorResponseDto«Response of query inbound order detail»
      • CommonVendorRequestDto«Inbound Tracking»
      • Clearance File
      • ExternalInboundOrderQueryReferenceNumberDto
      • ExternalInboundOrderNumberDTO
      • ExternalInboundOrderQueryDetailResponseDTO
      • CommonVendorRequestDto«Inbound order list»
      • Response of query inbound label
      • CommonVendorResponseDto«List«Response of query inbound order»»
      • Inbound TrackingReq
      • Inbound TrackingRes
      • ExternalInboundOrderQueryFileResponseDTO
      • CommonVendorRequestDto«ExternalInboundOrderQueryLabelRequestDto»
      • Inbound order Clearance File
      • Outbound order list
      • CommonVendorResponseDto«List«Response of create inbound order»»
      • ExternalInboundOrderQueryLabelRequestDto
      • CommonVendorRequestDto«Order Shipment No File»
      • Response of query inbound order
      • Carton number and label url of inbound order
      • ExternalProductDto
      • CommonVendorResponseDto«Void»
      • SkuProductDTO
      • ExternalOrderCancelRequestDTO
      • ReferenceNumberDto
      • EbayOrderIdDto
      • TrackingNumberDTO
      • ExternalOrdersQueryRequestDTO
      • CommonVendorRequestDto«ExternalOrderCancelRequestDTO»
      • CommonVendorRequestDto«ExternalOrdersQueryRequestDTO»
      • CommonVendorResponseDto«List«OrderReferenceNumberDTO»»
      • OrderReferenceNumberDTO
      • stock
      • CommonVendorResponseDto«List«ExternalOrderResponseDTO»»
      • CommonVendorRequestDto«List«Outbound order list»»
      • ExternalOrderResponseDTO
      • OuterProductDTO
      • CommonVendorResponseDto«List«service region»»
      • ShippingServiceNameDTO
      • service region
      • CalculateCommonVendorResponseDto«List«Calculate Result»»
      • CommonVendorRequestDto«Calculate Request»
      • Calculate Result
      • CalculateCommonVendorResponseErrorMsgDto
      • Detailed Sub Fee Info
      • Calculate Request
      • CommonVendorResponseDto«boolean»
      • Calculate Channel Result
      • Parcel Fee Info
      • CommonVendorRequestDto«Get Calculate Result Request»
      • Get Calculate Result Request
      • Calculate Package Info Result
      • 包装类型
      • SKU info in Package
      • Calculate Sku Info
    • inbound
      • 3pp Inbound Order List Query Request
  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 --request POST '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
Body

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