{
"order": {
"channelId": "12306",
"channelName": "12306",
"shopId": "TEST",
"shopName": "测试店铺",
"unionId": "o9ATRwQFTGcc5oYonrcfQJdDTbI4",
"mobile": "18188888888",
"orderId": "TEST_12345678",
"orderPrice": 0.01,
"orderStatus": 2,
"orderTime": "2021-12-10 15:53:29",
"customDefine": [
{
"key": "1191",
"value": "xxx"
},
{
"key": "1190",
"value": "1"
}
]
},
"goods": [
{
"goodName": "测试商品",
"imageUrl": "https://xxx",
"goodPrice": 0.01,
"num": 1
}
]
}
curl --location --request POST '/external/order/import' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"order": {
"channelId": "12306",
"channelName": "12306",
"shopId": "TEST",
"shopName": "测试店铺",
"unionId": "o9ATRwQFTGcc5oYonrcfQJdDTbI4",
"mobile": "18188888888",
"orderId": "TEST_12345678",
"orderPrice": 0.01,
"orderStatus": 2,
"orderTime": "2021-12-10 15:53:29",
"customDefine": [
{
"key": "1191",
"value": "xxx"
},
{
"key": "1190",
"value": "1"
}
]
},
"goods": [
{
"goodName": "测试商品",
"imageUrl": "https://xxx",
"goodPrice": 0.01,
"num": 1
}
]
}'
{
"code": 0,
"message": "success"
}