curl --location '/api/customer/admin/orders/createOrderFromExternal' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"createdAt": "string",
"currency": "string",
"isPaid": true,
"lineItems": [
{
"price": 0,
"productUrl": "string",
"quantity": 0,
"storeOrderLineItemId": "string",
"storeProductId": "string",
"storeSkuId": "string",
"storeVariantId": "string",
"title": "string",
"variantAttr": "string",
"variantImg": "string"
}
],
"paidAt": "string",
"platform": 0,
"shippingAddress": {
"address1": "string",
"address2": "string",
"city": "string",
"countryCode": "string",
"countryName": "string",
"email": "string",
"firstName": "string",
"idNo": "string",
"lastName": "string",
"phone": "string",
"province": "string",
"taxNo": "string",
"zip": "string"
},
"status": "string",
"storeCode": "string",
"storeName": "string",
"storeOrderId": "string",
"storeOrderNo": "string",
"taxAmount": 0,
"totalPrice": 0,
"totalShippingPrice": 0
}'{
"logisticsItems": [
{
"orderId": 0,
"shippingItems": [
{
"imgUrl": "string",
"lineItemId": 0,
"num": 0,
"skuId": 0,
"skuProductUrl": "string",
"spuId": 0,
"status": 0,
"statusDes": "string",
"storeOrderLineItemId": "string",
"storeProductId": "string",
"storeSkuId": "string",
"storeVariantId": "string",
"title": "string",
"variantTitle": "string"
}
],
"trackingCompany": "string",
"trackingNumber": "string",
"trackingUrl": "string"
}
],
"orderAddressInfo": {
"address1": "string",
"address2": "string",
"city": "string",
"countryCode": "string",
"countryName": "string",
"firstName": "string",
"idNo": "string",
"lastName": "string",
"phone": "string",
"province": "string",
"region": "string",
"taxNo": "string",
"vatNo": "string",
"zip": "string"
},
"orderBaseInfo": {
"actualAmount": 0,
"amount": 0,
"createTime": "2019-08-24T14:15:22.123Z",
"currencyCode": "string",
"currencySymbol": "string",
"freight": 0,
"goodsAmount": 0,
"isPaid": true,
"logisticsName": "string",
"orderId": 0,
"payTime": "2019-08-24T14:15:22.123Z",
"platform": 0,
"platformDesc": "string",
"purchaseTime": "2019-08-24T14:15:22.123Z",
"shelfTime": "2019-08-24T14:15:22.123Z",
"status": 0,
"statusDesc": "string",
"storeOrderId": "string",
"storeOrderNo": "string"
},
"orderItemInfos": [
{
"currencyCode": "string",
"currencySymbol": "string",
"goodsAttr": "string",
"goodsId": 0,
"id": 0,
"imgUrl": "string",
"productId": 0,
"quantity": 0,
"status": 0,
"statusDes": "string",
"storeOrderLineItemId": "string",
"storeProductId": "string",
"storeSkuId": "string",
"storeVariantId": "string",
"title": "string",
"type": 0,
"unitPrice": 0
}
]
}