Open-API
  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
  • 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
  1. Outbound

Place Outbound Order

Sandbox
Sandbox
POST
/3pp/outbound/v1/creation
Outbound
This API syncs seller's orders on 3PP site to OC.
When the seller place non-MF orders on the 3PP site and they want OCH fulfil the orders, the 3PP site could sync these orders to OCH through this API.
The max number of outbound orders in a single request is 50.
In one call, 3PP should create no more than 50 outbound orders.

Request

Header Params
clientKey
string 
required
clientKey
vAuthorization
string 
required
vAuthorization
Access-Token
string 
required
First please get the access_token thru accessToken&refreshToken API and refresh accseeToken.
Then pass the value following the below format to Header.
Bearer+one space+access_token valueExample:
Thru the API get Access_token value, which is 'accesstokenvaluexxxxxxxx'.
Header Value is as below:
Bearer accesstokenvaluexxxxxxxx
Body Params application/json
apiVersion
string 
optional
data
array[object (Outbound order list) {23}] 
optional
companyName
string 
optional
The company name or business name of the consignee
>= 0 characters<= 100 characters
consigneeAddress1
string 
required
The consignee's address line 1
>= 0 characters<= 200 characters
consigneeAddress2
string 
optional
The consignee's address line 2
>= 0 characters<= 200 characters
consigneeCity
string 
optional
The consignee's city
>= 0 characters<= 100 characters
consigneeCountryCode
string 
required
The consignee's country, 2-character country code(ISO-3166)
>= 0 characters<= 2 characters
consigneeEmail
string 
optional
The consignee's email address
>= 0 characters<= 100 characters
consigneeName
string 
required
The consignee's full name
consigneePhone
string 
optional
The consignee's contact Number
>= 0 characters<= 100 characters
consigneeProvinceOrState
string 
optional
The consignee's Province/state
>= 0 characters<= 100 characters
consigneeZipCode
string 
optional
The consignee's zip code
>= 0 characters<= 10 characters
ebayId
string 
optional
The eBay id,
If orderPlatform = ”eBay“ (ignore case), this field is mandatory.
>= 0 characters<= 100 characters
ebayOrderId
string 
optional
The eBay order id,the format:
02-05696-00555
If orderPlatform = ”eBay“ (ignore case), this field is mandatory.
>= 0 characters<= 100 characters
fileGroupID
string 
optional
Get the value of the field when calling the uploadFile V2 API first
>= 0 characters<= 255 characters
houseNumber
string 
optional
The consignee's house number
>= 0 characters<= 10 characters
orderPlatform
string 
optional
Platform Name
>= 0 characters<= 50 characters
productList
array[object (SkuProductDTO) {6}] 
optional
referenceNumber
string 
required
3pp outbound order number
>= 0 characters<= 100 characters
remarks
string 
optional
outbound order remarks
>= 0 characters<= 255 characters
serviceRegion
string 
required
From which MF warehouse seller want this order to be fulfilled. OCH defines these regional warehouse list, 3PP could get this foundational data from "getServiceList" API.
>= 0 characters<= 50 characters
shippingServiceCode
string 
required
By which the shipping option seller wants this order to be fulfilled. OCH defines these shipping options list, 3PP could get this foundational data from "getServiceList" API.
>= 0 characters<= 100 characters
vasCode
string 
optional
Last-mile delivery value-added service,enumeration type
Last-mile signature service: SG
taxId
string 
optional
Required for shipments to Mexico.
reShipmentEbayOrder
boolean 
optional
EbayOrder Reusable
messageId
string 
optional
timestamp
integer <int64>
optional
Example
{
  "apiVersion": "string",
  "data": [
    {
      "companyName": "string",
      "consigneeAddress1": "string",
      "consigneeAddress2": "string",
      "consigneeCity": "string",
      "consigneeCountryCode": "st",
      "consigneeEmail": "string",
      "consigneeName": "string",
      "consigneePhone": "string",
      "consigneeProvinceOrState": "string",
      "consigneeZipCode": "string",
      "ebayId": "string",
      "ebayOrderId": "string",
      "fileGroupID": "string",
      "houseNumber": "string",
      "orderPlatform": "string",
      "productList": [
        {
          "currency": "str",
          "declaredValue": 0,
          "eBayItemId": "string",
          "eBayTransactionId": "string",
          "mfSkuId": "string",
          "skuQuantity": 0
        }
      ],
      "referenceNumber": "string",
      "remarks": "string",
      "serviceRegion": "string",
      "shippingServiceCode": "string",
      "vasCode": "string",
      "taxId": "string",
      "reShipmentEbayOrder": true
    }
  ],
  "messageId": "string",
  "timestamp": 0
}

Request 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/3pp/outbound/v1/creation' \
--header 'clientKey;' \
--header 'vAuthorization;' \
--header 'Access-Token;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "apiVersion": "string",
    "data": [
        {
            "companyName": "string",
            "consigneeAddress1": "string",
            "consigneeAddress2": "string",
            "consigneeCity": "string",
            "consigneeCountryCode": "st",
            "consigneeEmail": "string",
            "consigneeName": "string",
            "consigneePhone": "string",
            "consigneeProvinceOrState": "string",
            "consigneeZipCode": "string",
            "ebayId": "string",
            "ebayOrderId": "string",
            "fileGroupID": "string",
            "houseNumber": "string",
            "orderPlatform": "string",
            "productList": [
                {
                    "currency": "str",
                    "declaredValue": 0,
                    "eBayItemId": "string",
                    "eBayTransactionId": "string",
                    "mfSkuId": "string",
                    "skuQuantity": 0
                }
            ],
            "referenceNumber": "string",
            "remarks": "string",
            "serviceRegion": "string",
            "shippingServiceCode": "string",
            "vasCode": "string",
            "taxId": "string",
            "reShipmentEbayOrder": true
        }
    ],
    "messageId": "string",
    "timestamp": 0
}'

Responses

🟢200OK
application/json
Body
code
integer <int32>
optional
data
array[object (OrderReferenceNumberDTO) {2}] 
optional
orderNumber
string 
required
Unique order number generated by OCH
>= 0 characters<= 50 characters
referenceNumber
string 
required
3pp outbound order number
>= 0 characters<= 100 characters
errors
array[object (CommonVendorResponseErrorMsgDto) {3}] 
optional
code
string 
optional
id
string 
optional
message
string 
optional
message
string 
optional
messageId
string 
optional
success
boolean 
optional
Example
"{
    "code": 0, 
    "data": [
        {
            "orderNumber": "OCO000000000000XX", 
            "referenceNumber": "00000000000000"
        }, 
        {
            "orderNumber": "OCO000000000001XX", 
            "referenceNumber": "00000000000001"
        }
    ], 
    "message": "Interface call succeeded.", 
    "messageId": "000000000000000"
}
"	
	
	
🟢200error305002
🟢200error401203
🟢200OK
🟠404Not Found
Modified at 2024-02-22 11:46:54
Previous
Upload Clearance Doc
Next
Outbound Order Query v2
Built with