- 1688 Solution Introduction
- 1688 Product Search
- 1688 Order Manage
- 1688 Oder Pay
- 1688 Message Service
Create order
POST
/alibaba/trade/createCrossOrder
Request
Body Params application/json
appKey
string
required
appSecret
string
required
thirdOrderId
string
required
flow
string
required
message
string
required
isvBizType
string
required
addressParam
object
required
provinceText
string
required
cityText
string
required
areaText
string
required
townText
string
required
address
string
required
postCode
string
required
fullName
string
required
mobile
string
required
phone
string
required
districtCode
string
required
cargoParamList
array [object {3}]
required
offerId
integer
optional
specId
string
optional
quantity
integer
optional
Example
{
"appKey": "",
"appSecret": "",
"thirdOrderId": "T20240708002",
"flow": "general",
"message": "备注信息测试",
"isvBizType": "cross",
"addressParam": {
"provinceText": "浙江省",
"cityText": "杭州市",
"areaText": "滨江区",
"townText": "长河镇",
"address": "网商路699号",
"postCode": "000000",
"fullName": "张三",
"mobile": "18888888888",
"phone": "18888888888",
"districtCode": "310107"
},
"cargoParamList": [
{
"offerId": 623686863670,
"specId": "53a1eff0fa008b2b9f32a120b0a050f2",
"quantity": 5
}
]
}
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.dajisaas.com/alibaba/trade/createCrossOrder' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "",
"appSecret": "",
"thirdOrderId": "T20240708002",
"flow": "general",
"message": "备注信息测试",
"isvBizType": "cross",
"addressParam": {
"provinceText": "浙江省",
"cityText": "杭州市",
"areaText": "滨江区",
"townText": "长河镇",
"address": "网商路699号",
"postCode": "000000",
"fullName": "张三",
"mobile": "18888888888",
"phone": "18888888888",
"districtCode": "310107"
},
"cargoParamList": [
{
"offerId": 623686863670,
"specId": "53a1eff0fa008b2b9f32a120b0a050f2",
"quantity": 5
}
]
}'
Responses
🟠405验证错误
application/json
Body
code
integer
required
message
string
required
data
object
required
totalSuccessAmount
integer
required
orderId
string
required
success
boolean
required
code
null
required
message
null
required
accountPeriod
null
required
failedOfferList
null
required
postFee
integer
required
orderList
array[string]
required
timestamp
integer
required
traceId
string
required
Example
{
"code": 200,
"message": "操作成功",
"data": {
"totalSuccessAmount": 1196,
"orderId": "2257164624870311973",
"success": true,
"code": null,
"message": null,
"accountPeriod": null,
"failedOfferList": null,
"postFee": 300,
"orderList": []
},
"timestamp": 1723619438689,
"traceId": "307c881d5e6e"
}
🟢200成功
🟠404记录不存在
