用于批量创建电商平台订单
[
{
"platformOrderNo": "string",
"platformWarehouseCode": "string",
"shippingMethodCode": "string",
"trackingNo": "string",
"buyerName": "string",
"buyerEmail": "string",
"buyerPostcode": "string",
"buyerCountryCode": "string",
"buyerMobile": "string",
"buyerProvince": "string",
"buyerCity": "string",
"buyerAddress": "string",
"isInsure": 0,
"insurePrice": "string",
"orderTime": "2019-08-24T14:15:22.123Z",
"paymentTime": "2019-08-24T14:15:22.123Z",
"buyerAddress2": "string",
"buyerAddress3": "string",
"platformStoreCode": "string",
"itemDTOs": [
{
"sku": "string",
"quantity": 0,
"saleQuantity": 0
}
],
"attachmentMiddleDTOs": [
{
"attachmentType": "string",
"base64": "string",
"fileName": "string"
}
]
}
]curl --location --request POST '/middle/platform-order/create-batch/' \
--header 'Authorization: {{api_token}}' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"platformOrderNo": "string",
"platformWarehouseCode": "string",
"shippingMethodCode": "string",
"trackingNo": "string",
"buyerName": "string",
"buyerEmail": "string",
"buyerPostcode": "string",
"buyerCountryCode": "string",
"buyerMobile": "string",
"buyerProvince": "string",
"buyerCity": "string",
"buyerAddress": "string",
"isInsure": 0,
"insurePrice": "string",
"orderTime": "2019-08-24T14:15:22.123Z",
"paymentTime": "2019-08-24T14:15:22.123Z",
"buyerAddress2": "string",
"buyerAddress3": "string",
"platformStoreCode": "string",
"itemDTOs": [
{
"sku": "string",
"quantity": 0,
"saleQuantity": 0
}
],
"attachmentMiddleDTOs": [
{
"attachmentType": "string",
"base64": "string",
"fileName": "string"
}
]
}
]'{
"code": "20000",
"success": true,
"data": {
"totalQty": 1,
"successQty": 1,
"failQty": 0,
"successList": [
{
"orderNo": "112132123",
"message": "处理成功"
}
],
"failList": []
},
"message": "请求成功",
"errors": [],
"timestamp": "1762834365750",
"duration": 0.21,
"requestId": "f08c5a7ec57a4dda8502bc409f74e633"
}