Download OpenAPI specification:Download
OrangeConnex is a standardized interface for fulfillment service providers and their customers.
OC’s ERP team receive connection request
seller/ERP initiate connection request
Unless account details have been provided by the local OC team, the Seller/ERP system should send the following request to:development.it@itiaoling.com , Solution@orangeconnex.com
Customer Name | ********limited(3PP-ERP do not required) |
---|---|
Country/Region | Mainland China/HK/DE/UK/AU |
OCID | 00000000(3PP-ERP do not required) |
ERP Type | Seller-ERP or 3PP-ERP |
ERP Name | Seller-ERP Name/3PP-ERP Name |
OC Service | DE/UK/AU(3PP-ERP do not required) |
*3PP-ERP means third party’s ERP , Seller-ERP means seller has its own ERP
OC open the testing account & information
The OC team will request test accounts on behalf of Australian 3PPs. On receipt of a test account request, the OC team will generate a unique ClientKey & SecretKey for each 3PP.
SELLER/ERP initiate connection request in SANDBOX environment
The OC team will verify the testing results and record the API connectors’ testing status as quickly as possible.
Opening of the production environment account
After passing the ‘testing environment tests, the OC team will then open a production-environment account for the user and ERP system. It takes around 1-2 working days to action. In addition, third-party ERP needs to provide user set-up guidelines to help users finish set-up.
Authorization code & token’s connector explanation
API name in document | Connector Usage Explanation |
---|---|
URL(getAuthorizationCode) | Purpose:To allow the ERP system to request OC’s authorization code |
accessToken&refreshToken | Usage:To allow the ERP system to request accessToken & refreshToken Please Note:The ‘access_token’ is valid for 3,600 seconds. If it has expired, please use ‘refresh_token’ to retrieve a new one. The “refresh token” is valid for one year, please store a record of the “refresh token” to make sure you can retrieve the ‘access token’ |
refresh accessToken | Purpose:To allow the ERP system to use the ‘refeshToken’ to retrieve a new “accessToken” |
Important note regarding the authorization code & token connectionURL(getAuthorizationCode)
The ERP system receives OC’s authorization code via this connector.
For more information, please refer to URL(getAuthorizationCode).
A connection example is shown below:
https://openapi-cn.orangeconnex.com/oauth/authorize?response_type=code&client_id=ClientKey&redirect_uri=http://en.newsign.com&state=userID
Please Note: The highlighted sections are placeholders; Clients should replace these with their own information. ClientKey: the ClientKey which the client applyed before http://en.newsign.com: the website which the client wishes to access userID: username/userID used by ERP
Click "AGREE” button
Following this, the webpage will return to the website entered into the code.
The following syntax is used to copy the authorization code from the address. Please copy the returned authorization code into the highlighted area
http://en.newsign.com?act=getAuthorizationCode&code=returned authorization code&state=userID (ERP user account)
(Example of a returned web page)
accessToken&refreshToken
The ERP system retrieves the ‘accessToken&refreshToken’ for the user via this connector.
For more information, please refer to OC API SPECIFICATION section 1.1 accessToken & refreshToken.
The following is an example connection message:https://openapi-cn.orangeconnex.com/oauth/token?grant_type=authorization_code&code=accessed authorization code&redirect_uri=http://en.newsign.com&client_id= ClientKey
OC will return 2 tokens back to the ERP system
{
"access_token": "access_token information",
"token_type": "bearer",
"refresh_token": "refresh_token information",
"expires_in": 3600
}
*[·-·]:Please Note
access_token:is only valid for 3,600 seconds. If expired, please use the refresh token to generate another access token.
refresh token:is valid for one year. Please store details of the refresh token to make sure you can retrieve a new access token.
refresh accessToken
The ERP system will use the refresh_token to generate another access_token.
For more information, please refer to OC API SPECIFICATION section 1.2 refresh accessToken.
Connection example:
POST /oauth/token?grant_type=refresh_token&refresh_token=“refresh_token”&client_id=“yourclientid” HTTP/1.1(Host: server.example.com, Content-Type: application/x-www-form-urlencoded)
Response:
{
"access_token": "new access_token",
"token_type": "bearer",
"expires_in": 3600
}
*[·-·]:Please Note
The Access_token’s validation time is very short, OC suggests that the code includes a re-access rule to prevent problems from occurring.
The base url of this api is
The eF openAPI uses OAuth2 with the Authorization Code Grant for its endpoints. Users must have an active OrangeConnex Seller Portal account to authorize against the OAuth2 server. Applications and services using the API must acquire client credentials from OrangeConnex.
When making calls against the API, you need to do it in the context of an application. You will get the credentials for your application from OrangeConnex.
Application credentials consist of the following:
client_id
- uniquely identifies your applicationclient_secret
- secret used to authenticate your applicationredirect_uri
- the uri the OAuth2 server redirect to on authorization requestsTo begin the authorization flow, the 3PP constructs a URL like the following Production environment https://openapi-au.orangeconnex.com/oauth/authorize Stage environment https://openapi-stage-au.orangeconnex.com/oauth/authorize
OK
Unauthorized
Forbidden
Not Found
3PP exchanges the authorization code for an access token and refresh token. After 3PP gets authorization code, they need to exchange the authorization token for an access token and refresh token.
OK
Created
Unauthorized
Forbidden
Not Found
This API is used to sync Seller's SKU from 3PP to OC. The seller has SKUs maintained on the 3PP site, and they want to enroll in the MF program. The max number of SKU in a single request is 2000. In one call, 3PP should sync no more than 200 SKUs.Then they sync their SKUs that already existed on the 3PP site to the OCH platform. This API support batch sync.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": [
- {
- "WeeeRegistrationNo": "string",
- "barcodeList": [
- {
- "barcode": "string",
- "barcodeType": "string"
}
], - "batteryForm": "string",
- "batteryNumber": 0,
- "batteryType": "string",
- "batteryTypeNew": "string",
- "brandName": "string",
- "currency": "string",
- "declaredValue": 0,
- "dimensionUnit": "string",
- "ebayCustomLabel": "string",
- "fileList": [
- {
- "fileRegion": "string",
- "fileType": "string",
- "fileUrl": "string"
}
], - "leafCategoryDescription": "string",
- "leafCategoryID": "string",
- "referenceSKUID": "string",
- "registeredHeight": 0,
- "registeredLength": 0,
- "registeredWeight": 0,
- "registeredWidth": 0,
- "remark": "string",
- "reorderLevel": 0,
- "salesURL": "string",
- "sioc": true,
- "skunameList": [
- {
- "attributeDescription": "string",
- "languageCode": "string",
- "skuname": "string"
}
], - "skupictureURL": "string",
- "tag": "string",
- "weightUnit": "string",
- "withBattery": false,
- "withBrand": "string"
}
], - "messageId": "string",
- "timestamp": 0
}
This API is used to sync Seller's SKU from 3PP to OC. The seller has SKUs maintained on the 3PP site, and they want to enroll in the eBay fulfillment program. Then they sync their SKUs that already existed on the 3PP site to the OC platform. This API support batch sync. The max number of SKU in a single request is 2000. In one call, 3PP should sync no more than 200 SKUs.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": [
- {
- "WeeeRegistrationNo": "string",
- "barcodeList": [
- {
- "barcode": "string",
- "barcodeType": "string"
}
], - "batteryForm": "string",
- "batteryNumber": 0,
- "batteryType": "string",
- "batteryTypeNew": "string",
- "brandName": "string",
- "currency": "string",
- "declaredValue": 0,
- "dimensionUnit": "string",
- "ebayCustomLabel": "string",
- "fileList": [
- {
- "fileRegion": "string",
- "fileType": "string",
- "fileUrl": "string"
}
], - "leafCategoryDescription": "string",
- "leafCategoryID": "string",
- "referenceSKUID": "string",
- "registeredHeight": 0,
- "registeredLength": 0,
- "registeredWeight": 0,
- "registeredWidth": 0,
- "remark": "string",
- "reorderLevel": 0,
- "salesURL": "string",
- "sioc": true,
- "skunameList": [
- {
- "attributeDescription": "string",
- "languageCode": "string",
- "skuname": "string"
}
], - "skupictureURL": "string",
- "tag": "string",
- "weightUnit": "string",
- "withBattery": false,
- "withBrand": "string"
}
], - "messageId": "string",
- "timestamp": 0
}
This API is used to sync Seller's SKU from 3PP to OC. The seller has SKUs maintained on the 3PP site, and they want to enroll in the eBay fulfillment program. Then they sync their SKUs that already existed on the 3PP site to the OC platform. This API support batch sync. The max number of SKU in a single request is 2000. In one call, 3PP should sync no more than 200 SKUs.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": [
- {
- "WeeeRegistrationNo": "string",
- "barcodeList": [
- {
- "barcode": "string",
- "barcodeType": "string"
}
], - "batteryForm": "string",
- "batteryNumber": 0,
- "batteryType": "string",
- "batteryTypeNew": "string",
- "countryOfOrigin": "string",
- "dimensionUnit": "string",
- "fileList": [
- {
- "fileRegion": "string",
- "fileType": "string",
- "fileUrl": "string"
}
], - "hscodeList": [
- {
- "currency": "string",
- "declaredValue": 0,
- "destinationCountry": "string",
- "hsCode": "string"
}
], - "isCombined": false,
- "isPolybag": false,
- "itemID": "string",
- "leafCategoryDescription": "string",
- "leafCategoryID": "string",
- "referenceSKUID": "string",
- "registeredHeight": 0,
- "registeredLength": 0,
- "registeredWeight": 0,
- "registeredWidth": 0,
- "remark": "string",
- "salesURL": "string",
- "serviceRegionList": [
- {
- "brandName": "string",
- "currency": "string",
- "declaredValue": 0,
- "ebayCustomLabel": "string",
- "hsCode": 0,
- "reorderLevel": 0,
- "responsiblePersonCode": "string",
- "serviceRegion": "string",
- "verifyStatus": "string",
- "withBrand": "string"
}
], - "sioc": true,
- "skudescription": "string",
- "skunameList": [
- {
- "attributeDescription": "string",
- "languageCode": "string",
- "skuname": "string"
}
], - "skupictureURLList": [
- {
- "skupictureURL": "string"
}
], - "tag": "string",
- "weightUnit": "string",
- "withBattery": false
}
], - "messageId": "string",
- "timestamp": 0
}
This API is used to sync/ query SKU from OC to 3PP The seller has SKUs maintained on the OC site, and then they sync their SKUs that already existed on the OC site to the 3PP platform. This API support batch sync. The max number of SKU in a single request is 200. In one call, 3PP should sync no more than 200 SKUs.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "endTime": "string",
- "mfskulist": [
- {
- "mfskuid": "string"
}
], - "sellerSKUList": [
- {
- "sellerSKUID": "string"
}
], - "startTime": "string"
}, - "messageId": "string",
- "timestamp": 0
}
This API is used to sync Seller's SKU from 3PP to OC. The seller has SKUs maintained on the 3PP site, and they want to enroll in the eBay fulfillment program. Then they sync their SKUs that already existed on the 3PP site to the OC platform. This API support batch sync. The max number of SKU in a single request is 200. In one call, 3PP should sync no more than 200 SKUs.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "endTime": "string",
- "mfskulist": [
- {
- "mfskuid": "string"
}
], - "referenceSKUIDList": [
- {
- "ebayCustomLabel": "string",
- "referenceSKUID": "string"
}
], - "sellerSKUIDList": [
- {
- "sellerSKUID": "string"
}
], - "startTime": "string"
}, - "messageId": "string",
- "timestamp": 0
}
The seller has SKUs maintained on the OC site, and then they sync their SKUs that already exist on the OC site to the 3PP platform. This API supports batch sync.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "endTime": "string",
- "mfskulist": [
- {
- "mfskuid": "string"
}
], - "referenceSKUIDList": [
- {
- "ebayCustomLabel": "string",
- "referenceSKUID": "string"
}
], - "sellerSKUIDList": [
- {
- "sellerSKUID": "string"
}
], - "startTime": "string"
}, - "messageId": "string",
- "timestamp": 0
}
If sellers want to print the SKU Label on the 3PP, they can use this API and OC will return the SKU label.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "skulist": [
- {
- "countryOfOrigin": "string",
- "labelSize": "1",
- "language": "de-DE",
- "mfskuid": "string",
- "sellerSKUID": "string"
}
]
}, - "messageId": "string",
- "timestamp": 0
}
This API is used to join/exit EF services.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "domesticServicesList": [
- {
- "isJoinDomesticService": 0,
- "shippingServiceCode": "string",
- "shippingServiceRegionList": [
- {
- "additionalQuantityValue": 0,
- "shippingCost": 0,
- "shippingServiceRegion": "string"
}
]
}
], - "ebayIDList": [
- {
- "customLabel": "string",
- "ebayID": "string",
- "isJoinEF": 0
}
], - "fulfillmentCenterCode": "string",
- "internationalService": {
- "countryList": [
- {
- "additionalQuantityValue": 0,
- "destinationCountry": "st",
- "shippingCost": 0
}
], - "internationalShippingServiceCode": "string",
- "isJoinInternationalService": 0
}, - "mfSkuId": "string"
}, - "messageId": "string",
- "timestamp": 0
}
This API is used to get the EF services available for SKU.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "mfSkuList": [
- {
- "ebayId": "string",
- "skuId": "string"
}
]
}, - "messageId": "string",
- "timestamp": 0
}
By requesting a timeslot, 3PP could get all the inventory movement details that happened during the giving time.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "endTime": "string",
- "mfSkuList": [
- {
- "mfSkuId": "string"
}
], - "startTime": "string"
}, - "messageId": "string",
- "timestamp": 0
}
Per SKU, OCH would provide a location-specific inventory snapshot of the request time.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": [
- {
- "mfSkuId": "string"
}
], - "messageId": "string",
- "timestamp": 0
}
Per SKU, OC will provide a location-specific inventory snapshot of the request time.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "pageNumber": 0,
- "pageSize": 0,
- "serviceRegionList": [
- {
- "serviceRegion": "string"
}
], - "skuList": [
- {
- "mfSkuId": "string"
}
]
}, - "messageId": "string",
- "timestamp": 0
}
When seller going to ship products into warehouse. They needs to place a inbound order from ERP first.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "cartonList": [
- {
- "cartonNumber": "string",
- "cartonOriginCountry": "st",
- "labelSize": "string",
- "productList": [
- {
- "mfskuid": "string",
- "quantity": 0
}
], - "sellerCartonNumber": "string"
}
], - "eta": "string",
- "sellerInboundNumber": "string",
- "serviceRegion": "string",
- "shippingFrom": "string",
- "shippingMethod": "string",
- "transportMethod": "string",
- "vat": "string"
}, - "messageId": "string",
- "timestamp": 0
}
3PP could get inbound order status through this API
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "cancelTime": "string",
- "inboundNumber": "string",
- "sellerinboundNumber": "string"
}, - "messageId": "string",
- "timestamp": 0
}
3PP can upload 'Customs Clearance' file if origin is not European countries
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "endTime": "2019-08-24T14:15:22Z",
- "inboundNumberList": [
- "string"
], - "sellerinboundNumberList": [
- "string"
], - "startTime": "2019-08-24T14:15:22Z"
}, - "messageId": "string",
- "timestamp": 0
}
The seller has create an inbound order successful,and they can use this API to print inbound carton label
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "inboundOrderList": [
- {
- "inboundOrder": "string"
}
]
}, - "messageId": "string",
- "timestamp": 0
}
3PP could upload tracking number if the shipping method is express
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "inboundNumber": "string",
- "referenceNumber": "string",
- "trackingList": [
- {
- "cancelTime": "string",
- "inboundNumber": "string",
- "sellerinboundNumber": "string"
}
]
}, - "messageId": "string",
- "timestamp": 0
}
3PP chold upload 'Customs Clearance' file if origin is not European countries
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "fileList": [
- {
- "file": "string",
- "fileName": "string",
- "fileType": "string"
}
], - "inboundNumber": "string"
}, - "messageId": "string",
- "timestamp": 0
}
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.
OK
Created
Unauthorized
Forbidden
Not Found
{- "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"
}
], - "messageId": "string",
- "timestamp": 0
}
3PP can get order status through this API. After the seller placed an order on the 3PP site, if they want to monitor or view order fulfillment status, OC support 3PP querying orders information by an "order list" or by order creation time slot.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "ebayOrderIdList": [
- {
- "ebayId": "string",
- "ebayOrderId": "string"
}
], - "endTime": "string",
- "orderNumberList": [
- {
- "orderNumber": "string"
}
], - "referenceNumberList": [
- {
- "referenceNumber": "string"
}
], - "startTime": "string"
}, - "messageId": "string",
- "timestamp": 0
}
3PP sync cancelled orders to OC. If the seller doesn't want OC to fulfill orders they placed previously, seller can cancel these orders through 3PP and 3PP needs to sync canceled orders to OC.
OK
Created
Unauthorized
Forbidden
Not Found
{- "apiVersion": "string",
- "data": {
- "cancelReason": "string",
- "cancelTime": "string",
- "orderNumber": "string"
}, - "messageId": "string",
- "timestamp": 0
}
3PP could get OC's foundational service data through this API. When 3PP place non-MF orders to OC, they need to tell OC from which warehouse the outbound order should be shipped and by which shipping service they want the outbound order to be fulfilled. In this scenario, 3PP need to get OC's service list by this API
OK
Unauthorized
Forbidden
Not Found