{
"batchId": "7f45bbd6-a535-4b06-b7e4-4d1ff7fefdae",
"orderList": [
{
"order": {
"channelId": "123456",
"channelName": "测试商城",
"shopId": "2123456",
"shopName": "卖的好",
"unionId": "ob3TSvigVFYihdr_KjBT-YsRrtI0",
"mobile": "15212312312",
"orderId": "Esfa78416978",
"orderPrice": 60,
"orderStatus": 2,
"orderTime": "2021-04-09 15:35:36"
},
"goods": [
{
"goodName": "粘锅",
"imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/40tIia9XPiaCtD1ZoSIK0kZVf8BWCgKiaWMhhlxJlYL03fgL2ZWMUPvnLLsVAz8SKdyFUu2egTGE8m0badnVaVF6A/640?wx_fmt=png",
"goodPrice": 30,
"num": 1
},
{
"goodName": "铲子",
"imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/40tIia9XPiaCtD1ZoSIK0kZVf8BWCgKiaWMhhlxJlYL03fgL2ZWMUPvnLLsVAz8SKdyFUu2egTGE8m0badnVaVF6A/640?wx_fmt=png",
"goodPrice": 15,
"num": 2
}
]
},
{
"order": {
"channelId": "123456",
"channelName": "测试商城",
"shopId": "2123456",
"shopName": "卖的好",
"unionId": "ob3TSvigVFYihdr_KjBT-YsRrtI0",
"mobile": "15212312312",
"orderId": "Esfa78416978",
"orderPrice": 60,
"orderStatus": 2,
"orderTime": "2021-04-09 15:35:36"
},
"goods": [
{
"goodName": "粘锅",
"imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/40tIia9XPiaCtD1ZoSIK0kZVf8BWCgKiaWMhhlxJlYL03fgL2ZWMUPvnLLsVAz8SKdyFUu2egTGE8m0badnVaVF6A/640?wx_fmt=png",
"goodPrice": 30,
"num": 1
},
{
"goodName": "铲子",
"imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/40tIia9XPiaCtD1ZoSIK0kZVf8BWCgKiaWMhhlxJlYL03fgL2ZWMUPvnLLsVAz8SKdyFUu2egTGE8m0badnVaVF6A/640?wx_fmt=png",
"goodPrice": 15,
"num": 2
}
]
}
]
}
curl --location --request POST '/external/order/batchImport' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"batchId": "7f45bbd6-a535-4b06-b7e4-4d1ff7fefdae",
"orderList": [
{
"order": {
"channelId": "123456",
"channelName": "测试商城",
"shopId": "2123456",
"shopName": "卖的好",
"unionId": "ob3TSvigVFYihdr_KjBT-YsRrtI0",
"mobile": "15212312312",
"orderId": "Esfa78416978",
"orderPrice": 60,
"orderStatus": 2,
"orderTime": "2021-04-09 15:35:36"
},
"goods": [
{
"goodName": "粘锅",
"imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/40tIia9XPiaCtD1ZoSIK0kZVf8BWCgKiaWMhhlxJlYL03fgL2ZWMUPvnLLsVAz8SKdyFUu2egTGE8m0badnVaVF6A/640?wx_fmt=png",
"goodPrice": 30,
"num": 1
},
{
"goodName": "铲子",
"imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/40tIia9XPiaCtD1ZoSIK0kZVf8BWCgKiaWMhhlxJlYL03fgL2ZWMUPvnLLsVAz8SKdyFUu2egTGE8m0badnVaVF6A/640?wx_fmt=png",
"goodPrice": 15,
"num": 2
}
]
},
{
"order": {
"channelId": "123456",
"channelName": "测试商城",
"shopId": "2123456",
"shopName": "卖的好",
"unionId": "ob3TSvigVFYihdr_KjBT-YsRrtI0",
"mobile": "15212312312",
"orderId": "Esfa78416978",
"orderPrice": 60,
"orderStatus": 2,
"orderTime": "2021-04-09 15:35:36"
},
"goods": [
{
"goodName": "粘锅",
"imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/40tIia9XPiaCtD1ZoSIK0kZVf8BWCgKiaWMhhlxJlYL03fgL2ZWMUPvnLLsVAz8SKdyFUu2egTGE8m0badnVaVF6A/640?wx_fmt=png",
"goodPrice": 30,
"num": 1
},
{
"goodName": "铲子",
"imageUrl": "https://mmbiz.qpic.cn/mmbiz_png/40tIia9XPiaCtD1ZoSIK0kZVf8BWCgKiaWMhhlxJlYL03fgL2ZWMUPvnLLsVAz8SKdyFUu2egTGE8m0badnVaVF6A/640?wx_fmt=png",
"goodPrice": 15,
"num": 2
}
]
}
]
}'
{
"code": 0,
"message": "success"
}