- eBay fulfillment openAPI
- OAuth
- SKU
- Stock
- Inbound
- Outbound
- Warehouse
- Pricing
Place Outbound Order
Sandbox
Sandbox
POST
/3pp/outbound/v1/creation
Outbound
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
vAuthorization
string
required
Access-Token
string
required
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
>= 0 characters<= 100 characters
consigneeAddress1
string
required
>= 0 characters<= 200 characters
consigneeAddress2
string
optional
>= 0 characters<= 200 characters
consigneeCity
string
optional
>= 0 characters<= 100 characters
consigneeCountryCode
string
required
>= 0 characters<= 2 characters
consigneeEmail
string
optional
>= 0 characters<= 100 characters
consigneeName
string
required
consigneePhone
string
optional
>= 0 characters<= 100 characters
consigneeProvinceOrState
string
optional
>= 0 characters<= 100 characters
consigneeZipCode
string
optional
>= 0 characters<= 10 characters
ebayId
string
optional
If orderPlatform = ”eBay“ (ignore case), this field is mandatory.
>= 0 characters<= 100 characters
ebayOrderId
string
optional
02-05696-00555
If orderPlatform = ”eBay“ (ignore case), this field is mandatory.
>= 0 characters<= 100 characters
fileGroupID
string
optional
>= 0 characters<= 255 characters
houseNumber
string
optional
>= 0 characters<= 10 characters
orderPlatform
string
optional
>= 0 characters<= 50 characters
productList
array[object (SkuProductDTO) {6}]
optional
referenceNumber
string
required
>= 0 characters<= 100 characters
remarks
string
optional
>= 0 characters<= 255 characters
serviceRegion
string
required
>= 0 characters<= 50 characters
shippingServiceCode
string
required
>= 0 characters<= 100 characters
vasCode
string
optional
Last-mile signature service: SG
taxId
string
optional
reShipmentEbayOrder
boolean
optional
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
>= 0 characters<= 50 characters
referenceNumber
string
required
>= 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