Place Outbound Order
POST
/3pp/outbound/v1/creationThis 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.
请求参数
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
No schema defined
Example
Not configured
示例代码
Responses
OK(200)
error305002(200)
error401203(200)
OK(200)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
"{
"code": 0,
"data": [
{
"orderNumber": "OCO000000000000XX",
"referenceNumber": "00000000000000"
},
{
"orderNumber": "OCO000000000001XX",
"referenceNumber": "00000000000001"
}
],
"message": "Interface call succeeded.",
"messageId": "000000000000000"
}
"
Modified at 7 个月前