订单中心
仅 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryLayoutByOrderId 实际由天调用。
API列表
编号 | API名称 | 路径 | 数据来源 | 版本 |
---|---|---|---|---|
1.1 | 获取订单分页信息 | /bizPlatform/order/queryPage/bizPlatform/order/queryPage 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryPage | 业务/中台 | 1.0 |
1.2 | 获取订单产品信息 | /bizPlatform/order/queryOrderProductInfoByOrderId | 业务 | 1.0 |
1.3 | 获取订单基本信息 | /bizPlatform/order/queryOrderBaseInfoByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderBaseInfoByOrderId | 业务/中台 | 1.0 |
1.4 | 获取订单客户信息 | /bizPlatform/order/queryOrderCustomerByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderCustomerByOrderId | 业务/中台 | 1.0 |
1.5 | 获取订单发票信息 | /bizPlatform/order/queryOrderInvoiceInfoByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderInvoiceInfoByOrderId | 业务/中台 | 1.0 |
1.6 | 获取订单门店信息 | /bizPlatform/order/queryOrderShopInfoByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderShopInfoByOrderId | 业务/中台 | 1.0 |
1.7 | 获取订单包裹信息 | /bizPlatform/order/queryOrderDeliveryInfoByOrderId | 业务 | 1.0 |
1.8 | 获取包裹物流信息 | /bizPlatform/order/queryDeliverInfo | 业务 | 1.0 |
1.9 | 获取订单方案信息 | /bizPlatform/order/queryLayoutByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryLayoutByOrderId | 业务/中台 | 1.0 |
1.10 | 根据方案id获取订单产品信息 | /bizPlatform/order/queryOrderProductInfoByLayoutId | 业务 | 1.0 |
1.11 | 获取订单状态统计数据 | /bizPlatform/order/queryOrderStatusCount | 业务 | 1.0 |
1.12 | 获取订单地址列表 | /bizPlatform/order/queryOrderAddr 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderAddr | 业务/中台 | 1.0 |
1.13 | 获取未发货产品列表 | /bizPlatform/order/queryUnDeliverProduct | 业务 | 1.0 |
1.14 | 获取订单售后信息 | /bizPlatform/order/queryOrderRefund | 业务 | 1.0 |
1.15 | 批量获取订单产品信息 | /bizPlatform/order/batchQueryOrderProductInfoByOrderId | 业务 | 1.0 |
1.16 | 批量获取订单基本信息 | /bizPlatform/order/batchQueryOrderBaseInfoByOrderId | 业务 | 1.0 |
1.17 | 批量获取订单包裹信息 | /bizPlatform/order/batchQueryOrderDeliveryInfoByOrderId | 业务 | 1.0 |
1.18 | 批量获取未发货产品列表 | /bizPlatform/order/batchQueryUnDeliverProduct | 业务 | 1.0 |
1.19 | 根据订单id和skuId获取包裹信息 | /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderDeliveryInfo | 中台 | 1.0 |
API调用
1、订单管理
1.1: 获取订单分页信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryPage 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryPage
HTTP头: bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 否 | 订单号 |
sourceType | Integer | 否 | 订单来源(1-天策,目前只有天策订单) |
layoutShopId | Long | 否 | 方案店铺ID |
custIdList | List |
否 | 客户id列表 |
custName | String | 否 | 客户名称 |
custPhone | String | 否 | 客户客户电话 |
statusList | List |
否 | 订单状态 1:待付款,2:待发货,3:待收货,5:已收货,6:交易失败,7:待成团,8:待采购,9:待付尾款,10:待缴纳定金,11:方案设计中,12:交易完成 |
refundStatus | Integer | 否 | 订单退款状态(1:申请退款 2:退款成功 3:部分退款成功 4:退款失败) |
pageNum | Integer | 是 | 当前页 |
pageSize | Integer | 是 | 每页大小 |
请求示例
{
"pageNum":1,
"pageSize":10
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单ID |
sourceType | Integer | 是 | 订单来源(1-天策,目前只有天策订单) |
userId | Long | 是 | 用户ID |
total | Long | 是 | 总值 |
actualTotal | Long | 是 | 实际总值 |
depositTotal | Long | 是 | 订单总值 |
payTotal | Long | 是 | 已支付金额 |
status | Integer | 是 | 订单状态 1:待付款,2:待发货,3:待收货,5:已收货,6:交易失败,7:待成团,8:待采购,9:待付尾款,10:待缴纳定金,11:方案设计中,12:交易完成 |
payType | Integer | 是 | 0积分支付,1微信小程序支付,2支付宝,3微信扫码支付,4微信H5支付,5微信公众号支付,6支付宝H5支付, 7支付宝APP支付,8微信APP支付, 9余额支付 |
allCount | Integer | 是 | 订单商品总数 |
pkgCount | Integer | 是 | 包裹数 |
payTime | Date | 是 | 付款时间 |
finallyTime | Date | 是 | 完成时间 |
settledTime | Date | 是 | 结算时间 |
cancelTime | Date | 是 | 取消时间 |
isPayed | Integer | 是 | 是否已支付,1.已支付0.未支付 |
closeType | Integer | 是 | 订单关闭原因 1-超时未支付 2-退款关闭 4-买家取消 15-已通过货到付款交易 |
isPayed | Integer | 是 | 是否已支付,1.已支付0.未支付 |
refundStatus | Integer | 是 | 订单退款状态(1:申请退款 2:退款成功 3:部分退款成功 4:退款失败) |
shopRemarks | String | 是 | 卖家备注 |
remarks | String | 是 | 买家备注 |
deleteStatus | Integer | 是 | 用户订单删除状态,0:没有删除, 1:回收站, 2:永久删除 |
writeOffStatus | Integer | 是 | 订单核销状态 0.待核销 1.核销完成 |
writeOffNum | Integer | 是 | 核销次数 -1.多次核销 0.无需核销 1.单次核销 |
writeOffMultipleCount | Integer | 是 | 核销次数 -1.无限次 |
writeOffStart | Date | 是 | 核销开始时间 |
writeOffEnd | Date | 是 | 核销结束时间 |
freightAmount | Long | 是 | 订单运费 |
reduceAmount | Long | 是 | 优惠总额 |
engineeringServiceAmount | Long | 是 | 工程服务总价 |
shopChangeFreeAmount | Long | 是 | 店铺改价优惠金额 |
layoutName | String | 是 | 方案名称 |
layoutId | Long | 是 | 天策方案id |
layoutVersionId | Long | 是 | 天策方案版本ID |
layoutVersion | String | 是 | 天策方案版本号 |
layoutShopId | Long | 是 | 方案店铺ID |
layoutShopName | Long | 是 | 方案店铺名称 |
managerName | String | 是 | 施工项目经理名称 |
managerPhone | String | 是 | 施工项目经理手机号,多个时”,”分隔 |
createTime | Date | 是 | 创建时间 |
updateTime | Date | 是 | 更新时间 |
custId | Long | 是 | 客户id |
custName | String | 是 | 客户名称 |
custAddr | String | 是 | 客户地址 |
custPhone | String | 是 | 客户电话 |
depositTime | Date | 否 | 定金支付时间 |
orderTime | Date | 否 | 下单时间 |
fullPayTime | Date | 否 | 尾款完成时间 |
takeDeliveryFullTime | Date | 否 | 完全收货时间 |
depositTransferDesign | Integer | 否 | 定金转设计费, 0否, 1是 |
stylistId | String | 否 | 设计师id |
stylistName | String | 否 | 设计师名称 |
installProvinceId | Long | 否 | 安装地址省ID |
installProvince | String | 否 | 安装地址省 |
installCityId | Long | 否 | 安装地址城市ID |
installCity | String | 否 | 安装地址城市 |
installAreaId | Long | 否 | 安装地址区域ID |
installArea | String | 否 | 安装地址区 |
installAddr | String | 否 | 安装地址详情 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"pages": 1,
"total": 1,
"list": [
{
"orderThirdId": 1,
"sourceType": 1,
"userId": 89,
"total": 100,
"actualTotal": 100,
"depositTotal": 100,
"payTotal": 105800,
"status": 0,
"payType": 1,
"allCount": 2,
"pkgCount": 2,
"payTime": "2023-05-17 15:20:31",
"finallyTime": "2023-05-17 15:20:37",
"settledTime": "2023-05-17 15:20:39",
"cancelTime": null,
"isPayed": 1,
"closeType": null,
"refundStatus": null,
"shopRemarks": null,
"remarks": null,
"deleteStatus": 0,
"writeOffStatus": null,
"writeOffNum": null,
"writeOffMultipleCount": null,
"writeOffStart": null,
"writeOffEnd": null,
"freightAmount": 100,
"reduceAmount": 432,
"engineeringServiceAmount": 100,
"shopChangeFreeAmount": -466,
"orderTcId": 1,
"layoutName": "测试方案051711",
"layoutId": 13660,
"layoutVersionId": 13660,
"layoutVersion": "1",
"layoutShopId": 75,
"layoutShopName": "睿住装饰-北滘分点",
"managerName": "包工头",
"managerPhone": "13800138000",
"createTime": "2023-05-17 15:25:59",
"updateTime": "2023-05-17 15:25:59",
"custId": 89,
"custName": "华子",
"custAddr": "广东省佛山市顺德区美的置业大厦",
"custPhone": "13600136000",
"depositTime": "2023-05-31 09:00:00",
"orderTime": "2023-05-31 12:00:00",
"fullPayTime": "2023-05-31 12:10:00",
"takeDeliveryFullTime": null,
"depositTransferDesign": 1,
"stylistId": "3373117",
"stylistName": "13802560122",
"installProvinceId": 110000,
"installProvince": "北京市",
"installCityId": 110100,
"installCity": "北京市",
"installAreaId": 110105,
"installArea": "朝阳区",
"installAddr": "人民群众"
}
]
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.2: 获取订单产品信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderProductInfoByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 | 隐射 |
---|---|---|---|---|
skuId | Long | 是 | 产品id | id (订单购物车必填字段) |
skuName | String | 是 | 产品名称 | -- |
spuId | Long | 是 | 商品id | -- (订单购物车必填字段) |
spuName | String | 是 | 商名称 | name |
categoryName | String | 是 | 分类名称 | thirdClassifyName |
categoryId | Long | 是 | 分类id | thirdClassifyId |
brandId | Long | 是 | 品牌id | brandid |
brandName | String | 是 | 品牌名称 | brandName |
attrs | String | 否 | 销售属性值,多个销售属性值id逗号分隔 | -- |
imgUrl | String | 否 | 产品图片 | productUrl |
priceFee | Long | 否 | 售价,整数方式保存 | price |
marketPriceFee | Long | 否 | 市场价,整数方式保存 | -- |
scoreFee | Long | 否 | 积分价格 | -- |
partyCode | String | 否 | 商品编码 | -- |
modelId | String | 否 | 商品条形码 | -- |
weight | BigDecimal | 否 | 商品重量 | -- |
volume | Integer | 否 | 商品体积 | -- |
status | BigDecimal | 是 | 状态 1:enable, 0:disable, -1:deleted | status |
supplierSkuId | Long | 否 | 当商品为代销商品时,供应商商品skuId | -- |
stockWarning | Integer | 否 | 库存预警 | -- |
createTime | Date | 否 | 创建时间 | createTime |
updateTime | Date | 否 | 更新时间 | updateTime |
nodeType | Integer | 否 | 节点类型:1直连设备 2网关 3子设备 | type |
shopId | Long | 是 | 商铺id | -- (订单购物车必填字段) |
attrId | Long | 否 | 规格属性id | -- |
attrName | String | 否 | 规格属性名称 | -- |
attrValueId | Long | 否 | 规格属性值id | -- |
attrValueName | String | 否 | 规格属性值名称 | -- |
attrDesc | String | 否 | 规格属性描述 | -- |
sysType | Integer | 否 | 关联系统类型 1.店铺 2.平台端 3.供应商 | -- |
searchType | Integer | 否 | 0:不需要,1:需要 | -- |
attrType | Integer | 否 | 0:销售属性,1:基本属性 | -- |
serviceProductId | Long | 否 | 服务产品id | -- |
serviceProductName | String | 否 | 服务产品名称 | -- |
externalProductCode | String | 否 | 外部商品编码(物料编码) | ipmProductCode |
productModel | String | 否 | 产品型号 | productModel |
iotModelId | String | 否 | 物模型id | modelId |
panelQty | Integer | 否 | 多路设备单路数量 | panelQty |
panelDefine | Integer | 否 | 是否允许单路设置,0-不允许,1-允许 | panelDefine |
productKey | String | 否 | iot产品标识 | productKey |
detail | String | 否 | 商品详情 | detail |
threeDimensionalParams | String | 否 | 3D需要额外字段(保存json数据) | -- |
productManualUrl | String | 否 | 产品说明书附件地址 | -- |
spuImgUrl | String | 否 | 商品图片,做轮播图 | -- |
spuImgUrls | String | 否 | 商品图片,备用 | -- |
orientedObject | String | 否 | 面向群体(枚举值:c-terminal:C端、b-terminal:B端) | -- |
isTrigger | Integer | 否 | 是否可以做为触发条件,0-不允许,1-允许 | -- |
isAction | Integer | 否 | 是否可以做为执行动作,0-不允许,1-允许 | -- |
initialize | Integer | 否 | 可实例化 0否 1是 | -- |
isVirtual | Integer | 否 | 是否虚拟产品 0否 1是 | -- |
consignee | String | 否 | 收货人 | -- |
mobile | String | 否 | 收货人电话 | -- |
provinceId | Long | 否 | 省份id | -- |
province | String | 否 | 省份 | -- |
cityId | Long | 否 | 城市id | -- |
city | String | 否 | 城市名称 | -- |
areaId | Long | 否 | 区域id | -- |
area | String | 否 | 区域名称 | -- |
addr | String | 否 | 地址 | -- |
isCompose | Integer | 否 | 是否为组合商品0普通商品,1组合商品 | -- |
price | Long | 否 | 购物车产品价格 | -- |
spuTotalAmount | Long | 否 | 商品总金额 | -- |
actualTotal | Long | 否 | 商品实际金额 = 商品总金额 - 分摊的优惠金额 | -- |
shareReduce | Long | 否 | 分摊的优惠金额 | -- |
count | Integer | 否 | 产品个数 | -- |
返回结果示例
{
"code": "00000",
"msg": null,
"data": [
{
"skuId": "353",
"skuName": null,
"spuId": "497488892048",
"spuName": "二路开关面板D1ZDK-2",
"orientedObject": "c-terminal",
"categoryName": "开关面板",
"categoryId": "3486",
"brandId": "8",
"brandName": "美的",
"attrs": null,
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"priceFee": "12900",
"marketPriceFee": "9030",
"scoreFee": 0,
"partyCode": "5120040500002",
"modelId": null,
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 10,
"createTime": "2023-05-17 14:06:17",
"updateTime": "2023-05-17 14:06:17",
"nodeType": 1,
"panelQty": 2,
"panelDefine": 1,
"isTrigger": 1,
"isAction": 1,
"productKey": "1d71ef81a36946bfa3d757fd59377ab9",
"shopId": "1",
"externalProductCode": "5120040500002",
"productModel": "A3Z-CZ-05-10A",
"iotModelId": "midea.switch.002",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null,
"consignee": "王者1号",
"mobile": null,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"isCompose": 0,
"composeSkuList": null,
"price": 12900,
"spuTotalAmount": 12900,
"actualTotal": 12900,
"shareReduce": 0,
"count": 1
},
{
"skuId": "253",
"skuName": "260厘米 头层牛皮",
"spuId": "633585737856",
"spuName": "4人位商品",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发尺寸,沙发材质",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "1000001",
"marketPriceFee": "500000",
"scoreFee": 0,
"partyCode": "P596814271504",
"modelId": "12501",
"weight": 100.0,
"volume": 2.6,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 19:37:48",
"updateTime": "2023-05-12 10:21:41",
"nodeType": null,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": null,
"shopId": "3",
"externalProductCode": "wl12",
"productModel": "wl12",
"iotModelId": null,
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala商品详情</p>",
"threeDimensionalParams": "[{\"key1\":\"123\"},{\"key2\":\"456\"}]",
"productManualUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"consignee": "王者1号",
"mobile": null,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"isCompose": 1,
"composeSkuList": [
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "243",
"skuName": "头层牛皮 爱马仕橙",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P590371820544",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 1,
"isAction": 1,
"productKey": "0dc8d89713c14d0ba3556a5f2893fa49",
"shopId": "3",
"externalProductCode": "wl01",
"productModel": "1",
"iotModelId": "dadd",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
},
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "244",
"skuName": "头层牛皮 黑色",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P588224336912",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": "393d9d59bba04e81adadc99ac19dbc43",
"shopId": "3",
"externalProductCode": "wl02",
"productModel": "2",
"iotModelId": "dad2",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
}
],
"price": 1000001,
"spuTotalAmount": 1000001,
"actualTotal": 1000001,
"shareReduce": 0,
"count": 1
}
],
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.3: 获取订单基本信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderBaseInfoByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderBaseInfoByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单ID |
sourceType | Integer | 是 | 订单来源(1-天策,目前只有天策订单) |
userId | Long | 是 | 用户ID(客户id) |
total | Long | 是 | 总值 |
actualTotal | Long | 是 | 实际总值 |
depositTotal | Long | 是 | 订单总值 |
payTotal | Long | 是 | 已支付金额 |
status | Integer | 是 | 订单状态 1:待付款,2:待发货,3:待收货,5:已收货,6:交易失败,7:待成团,8:待采购,9:待付尾款,10:待缴纳定金,11:方案设计中,12:交易完成 |
payType | Integer | 是 | 0积分支付,1微信小程序支付,2支付宝,3微信扫码支付,4微信H5支付,5微信公众号支付,6支付宝H5支付, 7支付宝APP支付,8微信APP支付, 9余额支付 |
allCount | Integer | 是 | 订单商品总数 |
pkgCount | Integer | 是 | 包裹数 |
payTime | Date | 是 | 付款时间 |
finallyTime | Date | 是 | 完成时间 |
settledTime | Date | 是 | 结算时间 |
cancelTime | Date | 是 | 取消时间 |
isPayed | Integer | 是 | 是否已支付,1.已支付0.未支付 |
closeType | Integer | 是 | 订单关闭原因 1-超时未支付 2-退款关闭 4-买家取消 15-已通过货到付款交易 |
isPayed | Integer | 是 | 是否已支付,1.已支付0.未支付 |
refundStatus | Integer | 是 | 订单退款状态(1:申请退款 2:退款成功 3:部分退款成功 4:退款失败) |
shopRemarks | String | 是 | 卖家备注 |
remarks | String | 是 | 买家备注 |
deleteStatus | Integer | 是 | 用户订单删除状态,0:没有删除, 1:回收站, 2:永久删除 |
writeOffStatus | Integer | 是 | 订单核销状态 0.待核销 1.核销完成 |
writeOffNum | Integer | 是 | 核销次数 -1.多次核销 0.无需核销 1.单次核销 |
writeOffMultipleCount | Integer | 是 | 核销次数 -1.无限次 |
writeOffStart | Date | 是 | 核销开始时间 |
writeOffEnd | Date | 是 | 核销结束时间 |
freightAmount | Long | 是 | 订单运费 |
reduceAmount | Long | 是 | 优惠总额 |
engineeringServiceAmount | Long | 是 | 工程服务总价 |
shopChangeFreeAmount | Long | 是 | 店铺改价优惠金额 |
layoutName | String | 是 | 方案名称 |
layoutId | Long | 是 | 天策方案id |
layoutVersionId | Long | 是 | 天策方案版本ID |
layoutVersion | String | 是 | 天策方案版本号 |
layoutShopId | Long | 是 | 方案店铺ID |
layoutShopName | Long | 是 | 方案店铺名称 |
managerName | String | 是 | 施工项目经理名称 |
managerPhone | String | 是 | 施工项目经理手机号,多个时”,”分隔 |
createTime | Date | 是 | 创建时间 |
updateTime | Date | 是 | 更新时间 |
custId | Long | 是 | 客户id |
custName | String | 是 | 客户名称 |
custAddr | String | 是 | 客户地址 |
custPhone | String | 是 | 客户电话 |
depositTime | Date | 否 | 定金支付时间 |
orderTime | Date | 否 | 下单时间 |
fullPayTime | Date | 否 | 尾款完成时间 |
takeDeliveryFullTime | Date | 否 | 完全收货时间 |
depositTransferDesign | Integer | 否 | 定金转设计费, 0否, 1是 |
stylistId | String | 否 | 设计师id |
stylistName | String | 否 | 设计师名称 |
installProvinceId | Long | 否 | 安装地址省ID |
installProvince | String | 否 | 安装地址省 |
installCityId | Long | 否 | 安装地址城市ID |
installCity | String | 否 | 安装地址城市 |
installAreaId | Long | 否 | 安装地址区域ID |
installArea | String | 否 | 安装地址区 |
installAddr | String | 否 | 安装地址详情 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"orderThirdId": 1,
"sourceType": 1,
"userId": 89,
"total": 100,
"actualTotal": 100,
"depositTotal": 100,
"payTotal": 100,
"status": 0,
"payType": 1,
"allCount": 2,
"pkgCount": 2,
"payTime": "2023-05-17 15:20:31",
"finallyTime": "2023-05-17 15:20:37",
"settledTime": "2023-05-17 15:20:39",
"cancelTime": null,
"isPayed": 1,
"closeType": null,
"refundStatus": null,
"shopRemarks": null,
"remarks": null,
"deleteStatus": 0,
"writeOffStatus": null,
"writeOffNum": null,
"writeOffMultipleCount": null,
"writeOffStart": null,
"writeOffEnd": null,
"freightAmount": 100,
"reduceAmount": 432,
"engineeringServiceAmount": 100,
"shopChangeFreeAmount": -466,
"orderTcId": 1,
"layoutName": "测试方案051711",
"layoutId": 13660,
"layoutVersionId": 13660,
"layoutVersion": "1",
"layoutShopId": 75,
"layoutShopName": "睿住装饰-北滘分点",
"managerName": "包工头",
"managerPhone": "13800138000",
"createTime": "2023-05-17 15:25:59",
"updateTime": "2023-05-17 15:25:59",
"custId": 89,
"custName": "华子",
"custAddr": "广东省佛山市顺德区美的置业大厦",
"custPhone": "13600136000",
"depositTime": "2023-05-31 09:00:00",
"orderTime": "2023-05-31 12:00:00",
"fullPayTime": "2023-05-31 12:10:00",
"takeDeliveryFullTime": null,
"depositTransferDesign": 1,
"stylistId": "3373117",
"stylistName": "13802560122",
"installProvinceId": 110000,
"installProvince": "北京市",
"installCityId": 110100,
"installCity": "北京市",
"installAreaId": 110105,
"installArea": "朝阳区",
"installAddr": "人民群众"
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.4: 获取订单客户信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderCustomerByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderCustomerByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
id | Long | 是 | 客户id |
name | String | 是 | 客户名称 |
firstName | String | 否 | 姓氏 |
lastName | String | 否 | 名字 |
customerNo | String | 否 | 客户编号 |
nickName | String | 否 | 客户昵称 |
pinyinName | String | 是 | 客户名称拼音信息(声调用数字表示) |
pinyinInfo | String | 是 | 客户名称拼音信息(全拼) |
pinyinNamePrefix | String | 是 | 客户姓氏拼音首字母 |
type | Integer | 是 | 类型,0-C端, 1-B端 |
isPublic | Integer | 是 | 归属,0-私有,1-公共 |
url | String | 否 | 客户图标 |
extraAttr | String | 否 | 额外属性 |
remark | String | 否 | 备注 |
gender | Integer | 否 | 性别,0-女,1-男,-1-未知 |
age | Integer | 否 | 年龄, -1未知 |
birthday | date | 否 | 客户图标 |
marriage | Integer | 否 | 婚姻情况,0-未婚,1-已婚,-1-未知 |
company | String | 否 | 公司 |
position | String | 否 | 职位 |
job | String | 否 | 职业 |
education | String | 否 | 教育情况 |
String | 否 | 邮箱 | |
String | 否 | 微信 | |
qqNumber | String | 否 | QQ号 |
createTime | Date | 否 | 创建时间 |
updateTime | Date | 否 | 修改时间 |
createBy | String | 否 | 创建人 |
updateBy | String | 否 | 修改人 |
sourceId | Long | 否 | 平台id,兼容历史数据 |
sourceType | Integer | 否 | 来源,0-天策,1-天工 |
status | Integer | 否 | 状态,0正常 |
customerId | Long | 否 | 客户id |
provinceCode | String | 否 | 省编码 |
cityCode | String | 否 | 市编码 |
townCode | String | 否 | 镇编码 |
streetCode | String | 否 | 街道&乡镇编码 |
addressDetail | String | 否 | 详细地址 |
fullAddress | String | 否 | 完整地址 |
addrFlag | Integer | 否 | 地址标识:0-家,1-公司 |
isDefault | Integer | 否 | 是否为默认,0-否, 1-是 |
mobile | String | 否 | 电话 |
labels | String | 否 | 客户标签 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"id": 89,
"name": "桂花香",
"firstName": "",
"lastName": "",
"customerNo": "",
"nickName": "",
"pinyinName": "gui4 fang1",
"pinyinInfo": "guifang",
"pinyinNamePrefix": "G",
"type": 0,
"isPublic": 0,
"url": "",
"extraAttr": null,
"remark": "",
"gender": -1,
"age": -1,
"birthday": null,
"marriage": -1,
"company": "",
"position": "",
"job": "",
"education": "",
"email": "",
"wechat": "",
"qqNumber": "",
"createTime": "2022-10-26 08:58:34",
"updateTime": "2022-10-26 08:58:34",
"createBy": "15625059654",
"updateBy": "15625059654",
"sourceId": 89,
"sourceType": 1,
"labels": "专柜,清新",
"status": 0,
"customerAddressList": [
{
"customerId": 89,
"provinceCode": "440000",
"cityCode": "440600",
"townCode": "440606",
"streetCode": null,
"addressDetail": "北滘镇",
"addrFlag": 0,
"isDefault": 0
}
],
"customerPhoneList": [
{
"customerId": 89,
"name": "桂花香",
"mobile": "18945543534",
"remark": null,
"isDefault": 0
}
]
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.5: 获取订单发票信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderInvoiceInfoByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderInvoiceInfoByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdInvoiceId | Long | 是 | 订单发票ID |
orderThirdId | Long | 是 | 订单id |
feeType | Integer | 是 | 开票类型(1-商品发票 2-服务发票 3-设计费发票) |
invoiceType | Integer | 是 | 发票类型 1.电子普通发票,2.增值税专票 |
headerType | Integer | 是 | 抬头类型 1.单位 2.个人 |
headerName | String | 是 | 抬头名称 |
invoiceTaxNumber | String | 是 | 发票税号 |
invoiceContext | String | 是 | 发票内容 1.商品明细 |
invoiceState | Integer | 是 | 发票状态 1.申请中 2.已开票 |
registerAddr | String | 是 | 注册地址(专票时必填) |
registerPhone | String | 是 | 注册电话(专票时必填) |
registerBank | String | 是 | 开户行(专票时必填) |
registerAccount | String | 是 | 开户账号(专票时必填) |
receiveName | String | 是 | 收票人姓名(专票时必填) |
receivePhone | String | 是 | 收票人手机(专票时必填) |
receiveEmail | String | 是 | 收票人邮箱 |
receiveProvince | String | 是 | 收票人省(专票时必填) |
receiveCity | String | 是 | 收票人市(专票时必填) |
receiveRegion | String | 是 | 收票人区(专票时必填) |
receiveStreet | String | 是 | 收票人街道(专票时必填) |
receiveAddress | String | 是 | 收票人详细地址(专票时必填) |
fileUrl | String | 是 | 文件地址 |
applicationTime | Date | 是 | 申请时间 |
uploadTime | Date | 是 | 上传时间 |
createTime | Date | 是 | 创建时间 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": [
{
"orderThirdInvoiceId": 3,
"orderThirdId": 123,
"feeType": 1,
"invoiceType": 1,
"headerType": 2,
"headerName": "抬头名称",
"invoiceTaxNumber": "商品明细",
"invoiceContext": null,
"invoiceState": 0,
"registerAddr": null,
"registerPhone": null,
"registerBank": null,
"registerAccount": null,
"receiveName": null,
"receivePhone": null,
"receiveEmail": null,
"receiveProvince": null,
"receiveCity": null,
"receiveRegion": null,
"receiveStreet": null,
"receiveAddress": null,
"fileUrl": null,
"applicationTime": null,
"uploadTime": null,
"createTime": "2023-06-15 09:44:47"
}
],
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.6: 获取订单门店信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderShopInfoByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderShopInfoByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
id | Long | 是 | 门店id |
shopName | String | 是 | 门店名称 |
shopAddress | String | 是 | 门店地所在地:province_name+city_name+district_name |
provinceCode | String | 是 | 省编码 |
cityCode | String | 是 | 市编码 |
districtCode | String | 是 | 区编码 |
provinceName | String | 是 | 省名称 |
cityName | String | 是 | 市名称 |
districtName | String | 是 | 区名称 |
addressStreet | String | 是 | 详细门牌号 |
companyId | Long | 是 | 归属企业ID |
businessCert | String | 是 | 营业执照URL |
addressStreet | String | 是 | 详细门牌号 |
position_3d | Integer | 是 | 3D设计席位 |
grantResources | String | 是 | 设计功能授权 |
serviceAbility | Integer | 是 | 是否具备设计能力,1:是 2:否 |
serviceEngineers | String | 是 | 服务工程师列表 JSONArray |
shopBrief | String | 是 | 店铺简介 |
adminAccount | String | 是 | 超管帐号 |
shopDescription | String | 是 | 店铺简介 |
serviceEngineers | String | 是 | 服务工程师列表 JSONArray |
companyName | String | 是 | 公司全称 |
companyAddress | String | 是 | 公司完整地址 |
contactName | String | 是 | 联系人 |
contactMobile | String | 是 | 联系人的手机号 |
companyName | String | 是 | 公司全称 |
shopCount | Integer | 是 | 店铺数量 |
companyLogo | String | 是 | 公司Logo |
companyEnabled | Integer | 是 | 1: 启用,2:禁用 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"shop": {
"id": "75",
"shopName": "睿住装饰-北滘分店",
"shopAddress": "广东省佛山市顺德区美的悦然广场188号",
"provinceCode": "440000",
"cityCode": "440600",
"districtCode": "440606",
"provinceName": "广东省",
"cityName": "佛山市",
"districtName": "顺德区",
"addressStreet": "美的悦然广场188号",
"companyId": "63",
"businessCert": "https://remac-tx.oss-cn-hangzhou.aliyuncs.com/null/20230509151528285904134.png",
"createTime": "2023-05-09 15:15:39",
"createBy": "功夫熊猫",
"shopEnabled": 1,
"position_3d": null,
"grantResources": "1,3",
"serviceAbility": 2,
"serviceEngineers": "[]",
"shopBrief": null,
"adminAccount": "15625059654",
"shopDescription": "北滘分店承接全国各地装修装饰设计业务。",
"updateTime": null,
"updateBy": null
},
"company": {
"id": "63",
"companyName": "睿住装饰设计公司",
"companyAddress": "广东省佛山市顺德区北滘镇美的置业广场188号",
"provinceCode": "440000",
"cityCode": "440600",
"districtCode": "440606",
"provinceName": "广东省",
"cityName": "佛山市",
"districtName": "顺德区",
"addressStreet": "北滘镇美的置业广场188号",
"contactName": "叶桂芳",
"contactMobile": "15625059654",
"shopCount": 2,
"companyLogo": "https://remac-tx.oss-cn-hangzhou.aliyuncs.com/null/202305091510431383048703.jpg",
"companyEnabled": 1,
"createTime": "2023-05-09 15:11:29",
"updateBy": "功夫熊猫",
"updateTime": "2023-05-09 15:21:53",
"createName": "功夫熊猫",
"companyDescription": "广东睿住智能科技有限公司,成立于2015年,总部位于佛山,美的控股成员企业,是行业领先的空间智能解决方案商。睿住智能以用户真实需求为出发点,依托空间智能全栈技术体系,打造智慧家庭、智慧社区、智慧园区、智慧医养、智慧商业等多业态的空间智能解决方案,为客户提供“咨询、设计、交付、售后、运维”的全链条品质"
}
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.7: 获取订单包裹信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderDeliveryInfoByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
deliveryOrderId | Long | 是 | 订单物流包裹id |
orderId | Long | 是 | 子订单id |
deliveryCompanyId | Long | 是 | 快递公司id |
deliveryCompanyName | String | 是 | 快递公司名称 |
deliveryNo | String | 是 | 快递单号 |
consigneeName | String | 是 | 收件人姓名 |
consigneeMobile | String | 是 | 收件人电话 |
allCount | Integer | 是 | 包裹商品总数 |
deliveryType | Integer | 是 | 发货方式(1.快递 3.无需物流) |
provinceId | Long | 是 | 省ID(省编号) |
province | String | 是 | 省 |
cityId | Long | 是 | 城市ID |
city | String | 是 | 城市 |
areaId | Long | 是 | 区域ID |
area | String | 是 | 区 |
addr | String | 是 | 地址 |
skuList | List |
是 | 包裹内产品信息(参考1.2获取订单产品信息接口返回参数说明) |
返回结果示例
{
"code": "00000",
"msg": null,
"data": [
{
"orderThirdId": 1,
"deliveryOrderId": 1,
"orderId": 1,
"deliveryCompanyId": 25,
"deliveryCompanyName": "韵达快递",
"deliveryNo": "433201128468322",
"consigneeName": "元帅",
"consigneeMobile": "18307579554",
"status": 1,
"allCount": 1,
"deleteTime": null,
"deliveryType": 1,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"skuList": [
{
"skuId": "353",
"skuName": null,
"spuId": "497488892048",
"spuName": "二路开关面板D1ZDK-2",
"orientedObject": "c-terminal",
"categoryName": "开关面板",
"categoryId": "3486",
"brandId": "8",
"brandName": "美的",
"attrs": null,
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"priceFee": "12900",
"marketPriceFee": "9030",
"scoreFee": 0,
"partyCode": "5120040500002",
"modelId": null,
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 10,
"createTime": "2023-05-17 14:06:17",
"updateTime": "2023-05-17 14:06:17",
"nodeType": 1,
"panelQty": 2,
"panelDefine": 1,
"isTrigger": 1,
"isAction": 1,
"productKey": "1d71ef81a36946bfa3d757fd59377ab9",
"shopId": "1",
"externalProductCode": "5120040500002",
"productModel": "A3Z-CZ-05-10A",
"iotModelId": "midea.switch.002",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null,
"consignee": null,
"mobile": null,
"provinceId": null,
"province": null,
"cityId": null,
"city": null,
"areaId": null,
"area": null,
"addr": null,
"isCompose": 0,
"composeSkuList": null,
"price": null,
"spuTotalAmount": null,
"actualTotal": null,
"shareReduce": null,
"count": 2
}
]
},
{
"orderThirdId": 1,
"deliveryOrderId": 2,
"orderId": 1,
"deliveryCompanyId": 15,
"deliveryCompanyName": "申通快递公司",
"deliveryNo": "773219855281953",
"consigneeName": "元帅",
"consigneeMobile": "18307579554",
"status": 1,
"allCount": 1,
"deleteTime": null,
"deliveryType": 1,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"skuList": [
{
"skuId": "253",
"skuName": "260厘米 头层牛皮",
"spuId": "633585737856",
"spuName": "4人位商品",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发尺寸,沙发材质",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "1000001",
"marketPriceFee": "500000",
"scoreFee": 0,
"partyCode": "P596814271504",
"modelId": "12501",
"weight": 100,
"volume": 2.6,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 19:37:48",
"updateTime": "2023-05-12 10:21:41",
"nodeType": null,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": null,
"shopId": "3",
"externalProductCode": "wl12",
"productModel": "wl12",
"iotModelId": null,
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala商品详情</p>",
"threeDimensionalParams": "[{\"key1\":\"123\"},{\"key2\":\"456\"}]",
"productManualUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"consignee": null,
"mobile": null,
"provinceId": null,
"province": null,
"cityId": null,
"city": null,
"areaId": null,
"area": null,
"addr": null,
"isCompose": 1,
"composeSkuList": [
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "243",
"skuName": "头层牛皮 爱马仕橙",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P590371820544",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 1,
"isAction": 1,
"productKey": "0dc8d89713c14d0ba3556a5f2893fa49",
"shopId": "3",
"externalProductCode": "wl01",
"productModel": "1",
"iotModelId": "dadd",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
},
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "244",
"skuName": "头层牛皮 黑色",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P588224336912",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": "393d9d59bba04e81adadc99ac19dbc43",
"shopId": "3",
"externalProductCode": "wl02",
"productModel": "2",
"iotModelId": "dad2",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
}
],
"price": null,
"spuTotalAmount": null,
"actualTotal": null,
"shareReduce": null,
"count": 5
}
]
}
],
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.8: 获取包裹物流信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryDeliverInfo
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
deliveryOrderId | Long | 是 | 订单物流包裹id |
请求Body描述
{
"deliveryOrderId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
state | Integer | 是 | 物流状态 0:没有记录 1:已揽收 2:运输途中 201:达到目的城市 3:已签收 4:问题件 |
acceptStation | String | 是 | 接受站点 |
acceptTime | String | 是 | 接受时间 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"companyName": null,
"companyHomeUrl": null,
"dvyFlowId": null,
"state": 3,
"traces": [
{
"acceptStation": "【武汉市】湖北蔡甸公司诚信分部-毛松(027-69847290) 已揽收",
"acceptTime": "2023-05-01 20:54:00"
},
{
"acceptStation": "【武汉市】已到达 湖北武汉分拨交付中心",
"acceptTime": "2023-05-01 21:02:24"
},
{
"acceptStation": "【武汉市】已离开 湖北武汉分拨交付中心;发往 广东佛山分拨交付中心",
"acceptTime": "2023-05-01 21:04:40"
},
{
"acceptStation": "【武汉市】湖北武汉蔡甸公司-陈亚林(18086028169) 已揽收",
"acceptTime": "2023-05-02 00:40:57"
},
{
"acceptStation": "【佛山市】已到达 广东佛山分拨交付中心",
"acceptTime": "2023-05-02 22:13:00"
},
{
"acceptStation": "【佛山市】已离开 广东佛山分拨交付中心;发往 广东佛山顺德新碧桂服务部",
"acceptTime": "2023-05-02 23:45:18"
},
{
"acceptStation": "【佛山市】广东佛山顺德新碧桂服务部[0757-23840942] 快递员 汪波(15674712442) 正在为您派送【95121为韵达快递员外呼专属号码,请放心接听】",
"acceptTime": "2023-05-03 08:17:51"
},
{
"acceptStation": "【佛山市】您的包裹已到达附近街区,安排派送中,如有疑问请电联:13632878039。",
"acceptTime": "2023-05-03 09:01:50"
},
{
"acceptStation": "【佛山市】您的包裹已签收,签收方式:家门口,如有疑问请电联:17727301386,操作方:佛山碧江白门口街14号店菜鸟驿站。投诉电话020-23393006。",
"acceptTime": "2023-05-03 11:05:58"
}
]
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.9: 获取订单方案信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryLayoutByOrderId 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryLayoutByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
layoutId | Long | 是 | 方案id |
layoutName | String | 是 | 方案名称 |
coverIconUrl | String | 是 | 方案封面 |
description | String | 是 | 方案描述 |
mobile | String | 是 | 原始作者 |
labelList | List |
是 | 方案标签 |
productName | String | 是 | 产品名称 |
customName | String | 是 | 自定义产品名称 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"layoutId": 1358,
"layoutName": "【勿删】杨李烽1.0UAT测试",
"coverIconUrl": "https://mideazy-test-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-08-16/1660628971153/blob",
"description": "5.0方案测试",
"mobile": "13138226515",
"createTime": "2022-08-30 09:23:25",
"updateTime": "2023-03-29 09:40:01",
"roomList": [{
"id": 225,
"name": "主卧"
}
],
"labelList": [
"5.0方案"
],
"productList": [
{
"productId": 196,
"productName": "红外电视",
"customName": "红外电视",
"roomName": "玄关",
"order": 62,
"productModel": "MCX02-D12S-A",
"brandName": "美的",
"modelId": "midea.doorlock.003"
}
],
"imageList": [{
"layoutId": 13749,
"roomId": 256,
"roomName": "景观阳台",
"url": "https://mideazy-test-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2023-05-18/1684390681001/room_256.jpg"
}
]
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.10: 根据方案id获取订单产品信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderProductInfoByLayoutId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
layoutId | Long | 是 | 方案id |
请求Body描述
{
"layoutId":1358
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 | 隐射 |
---|---|---|---|---|
skuId | Long | 是 | 产品id | id (订单购物车必填字段) |
skuName | String | 是 | 产品名称 | -- |
spuId | Long | 是 | 商品id | -- (订单购物车必填字段) |
spuName | String | 是 | 商名称 | name |
categoryName | String | 是 | 分类名称 | thirdClassifyName |
categoryId | Long | 是 | 分类id | thirdClassifyId |
brandId | Long | 是 | 品牌id | brandid |
brandName | String | 是 | 品牌名称 | brandName |
attrs | String | 否 | 销售属性值,多个销售属性值id逗号分隔 | -- |
imgUrl | String | 否 | 产品图片 | productUrl |
priceFee | Long | 否 | 售价,整数方式保存 | price |
marketPriceFee | Long | 否 | 市场价,整数方式保存 | -- |
scoreFee | Long | 否 | 积分价格 | -- |
partyCode | String | 否 | 商品编码 | -- |
modelId | String | 否 | 商品条形码 | -- |
weight | BigDecimal | 否 | 商品重量 | -- |
volume | Integer | 否 | 商品体积 | -- |
status | BigDecimal | 是 | 状态 1:enable, 0:disable, -1:deleted | status |
supplierSkuId | Long | 否 | 当商品为代销商品时,供应商商品skuId | -- |
stockWarning | Integer | 否 | 库存预警 | -- |
createTime | Date | 否 | 创建时间 | createTime |
updateTime | Date | 否 | 更新时间 | updateTime |
nodeType | Integer | 否 | 节点类型:1直连设备 2网关 3子设备 | type |
shopId | Long | 是 | 商铺id | -- (订单购物车必填字段) |
attrId | Long | 否 | 规格属性id | -- |
attrName | String | 否 | 规格属性名称 | -- |
attrValueId | Long | 否 | 规格属性值id | -- |
attrValueName | String | 否 | 规格属性值名称 | -- |
attrDesc | String | 否 | 规格属性描述 | -- |
sysType | Integer | 否 | 关联系统类型 1.店铺 2.平台端 3.供应商 | -- |
searchType | Integer | 否 | 0:不需要,1:需要 | -- |
attrType | Integer | 否 | 0:销售属性,1:基本属性 | -- |
serviceProductId | Long | 否 | 服务产品id | -- |
serviceProductName | String | 否 | 服务产品名称 | -- |
externalProductCode | String | 否 | 外部商品编码(物料编码) | ipmProductCode |
productModel | String | 否 | 产品型号 | productModel |
iotModelId | String | 否 | 物模型id | modelId |
panelQty | Integer | 否 | 多路设备单路数量 | panelQty |
panelDefine | Integer | 否 | 是否允许单路设置,0-不允许,1-允许 | panelDefine |
productKey | String | 否 | iot产品标识 | productKey |
detail | String | 否 | 商品详情 | detail |
threeDimensionalParams | String | 否 | 3D需要额外字段(保存json数据) | -- |
productManualUrl | String | 否 | 产品说明书附件地址 | -- |
spuImgUrl | String | 否 | 商品图片,做轮播图 | -- |
spuImgUrls | String | 否 | 商品图片,备用 | -- |
orientedObject | String | 否 | 面向群体(枚举值:c-terminal:C端、b-terminal:B端) | -- |
isTrigger | Integer | 否 | 是否可以做为触发条件,0-不允许,1-允许 | -- |
isAction | Integer | 否 | 是否可以做为执行动作,0-不允许,1-允许 | -- |
consignee | String | 否 | 收货人 | -- |
mobile | String | 否 | 收货人电话 | -- |
provinceId | Long | 否 | 省份id | -- |
province | String | 否 | 省份 | -- |
cityId | Long | 否 | 城市id | -- |
city | String | 否 | 城市名称 | -- |
areaId | Long | 否 | 区域id | -- |
area | String | 否 | 区域名称 | -- |
addr | String | 否 | 地址 | -- |
isCompose | Integer | 否 | 是否为组合商品0普通商品,1组合商品 | -- |
price | Long | 否 | 购物车产品价格 | -- |
spuTotalAmount | Long | 否 | 商品总金额 | -- |
actualTotal | Long | 否 | 商品实际金额 = 商品总金额 - 分摊的优惠金额 | -- |
shareReduce | Long | 否 | 分摊的优惠金额 | -- |
count | Integer | 否 | 产品个数 | -- |
返回结果示例
{
"code": "00000",
"msg": null,
"data": [
{
"skuId": "353",
"skuName": null,
"spuId": "497488892048",
"spuName": "二路开关面板D1ZDK-2",
"orientedObject": "c-terminal",
"categoryName": "开关面板",
"categoryId": "3486",
"brandId": "8",
"brandName": "美的",
"attrs": null,
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"priceFee": "12900",
"marketPriceFee": "9030",
"scoreFee": 0,
"partyCode": "5120040500002",
"modelId": null,
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 10,
"createTime": "2023-05-17 14:06:17",
"updateTime": "2023-05-17 14:06:17",
"nodeType": 1,
"panelQty": 2,
"panelDefine": 1,
"isTrigger": 1,
"isAction": 1,
"productKey": "1d71ef81a36946bfa3d757fd59377ab9",
"shopId": "1",
"externalProductCode": "5120040500002",
"productModel": "A3Z-CZ-05-10A",
"iotModelId": "midea.switch.002",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null,
"consignee": "王者1号",
"mobile": null,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"isCompose": 0,
"composeSkuList": null,
"price": 12900,
"spuTotalAmount": 12900,
"actualTotal": 12900,
"shareReduce": 0,
"count": 1
},
{
"skuId": "253",
"skuName": "260厘米 头层牛皮",
"spuId": "633585737856",
"spuName": "4人位商品",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发尺寸,沙发材质",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "1000001",
"marketPriceFee": "500000",
"scoreFee": 0,
"partyCode": "P596814271504",
"modelId": "12501",
"weight": 100.0,
"volume": 2.6,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 19:37:48",
"updateTime": "2023-05-12 10:21:41",
"nodeType": null,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": null,
"shopId": "3",
"externalProductCode": "wl12",
"productModel": "wl12",
"iotModelId": null,
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala商品详情</p>",
"threeDimensionalParams": "[{\"key1\":\"123\"},{\"key2\":\"456\"}]",
"productManualUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"consignee": "王者1号",
"mobile": null,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"isCompose": 1,
"composeSkuList": [
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "243",
"skuName": "头层牛皮 爱马仕橙",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P590371820544",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 1,
"isAction": 1,
"productKey": "0dc8d89713c14d0ba3556a5f2893fa49",
"shopId": "3",
"externalProductCode": "wl01",
"productModel": "1",
"iotModelId": "dadd",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
},
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "244",
"skuName": "头层牛皮 黑色",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P588224336912",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": "393d9d59bba04e81adadc99ac19dbc43",
"shopId": "3",
"externalProductCode": "wl02",
"productModel": "2",
"iotModelId": "dad2",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
}
],
"price": 1000001,
"spuTotalAmount": 1000001,
"actualTotal": 1000001,
"shareReduce": 0,
"count": 1
}
],
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.11: 获取订单状态统计数据
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderStatusCount
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
sourceType | Integer | 否 | 订单来源(1-天策,目前只有天策订单) |
layoutShopId | Long | 否 | 方案店铺ID |
请求Body描述
{
"layoutShopId":75
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
status | Integer | 是 | 订单状态 1:待付款,2:待发货,3:待收货,5:已收货,6:交易失败,7:待成团,8:待采购,9:待付尾款,10:待缴纳定金,11:方案设计中,12:交易完成 |
statusCount | Integer | 是 | 状态数量 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": [
{
"status": 0,
"statusCount": 1
},
{
"status": 1,
"statusCount": 6
},
{
"status": 10,
"statusCount": 1
}
],
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.12: 获取订单地址列表
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderAddr 或 /tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderAddr
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
consignee | String | 否 | 收货人 |
mobile | String | 否 | 收货人电话 |
provinceId | Long | 否 | 省份id |
province | String | 否 | 省份 |
cityId | Long | 否 | 城市id |
city | String | 否 | 城市名称 |
areaId | Long | 否 | 区域id |
area | String | 否 | 区域名称 |
addr | String | 否 | 地址 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": [
{
"orderAddrId": 1,
"userId": 1,
"consignee": "王者1号",
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"postCode": null,
"mobile": "13700137000",
"lng": null,
"lat": null
}
],
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.13: 获取未发货产品列表
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryUnDeliverProduct
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":1
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 | |
---|---|---|---|---|
skuId | Long | 是 | 产品id | id (订单购物车必填字段) |
skuName | String | 是 | 产品名称 | -- |
spuId | Long | 是 | 商品id | -- (订单购物车必填字段) |
spuName | String | 是 | 商名称 | name |
categoryName | String | 是 | 分类名称 | thirdClassifyName |
categoryId | Long | 是 | 分类id | thirdClassifyId |
brandId | Long | 是 | 品牌id | brandid |
brandName | String | 是 | 品牌名称 | brandName |
attrs | String | 否 | 销售属性值,多个销售属性值id逗号分隔 | -- |
imgUrl | String | 否 | 产品图片 | productUrl |
priceFee | Long | 否 | 售价,整数方式保存 | price |
marketPriceFee | Long | 否 | 市场价,整数方式保存 | -- |
scoreFee | Long | 否 | 积分价格 | -- |
partyCode | String | 否 | 商品编码 | -- |
modelId | String | 否 | 商品条形码 | -- |
weight | BigDecimal | 否 | 商品重量 | -- |
volume | Integer | 否 | 商品体积 | -- |
status | BigDecimal | 是 | 状态 1:enable, 0:disable, -1:deleted | status |
supplierSkuId | Long | 否 | 当商品为代销商品时,供应商商品skuId | -- |
stockWarning | Integer | 否 | 库存预警 | -- |
createTime | Date | 否 | 创建时间 | createTime |
updateTime | Date | 否 | 更新时间 | updateTime |
nodeType | Integer | 否 | 节点类型:1直连设备 2网关 3子设备 | type |
shopId | Long | 是 | 商铺id | -- (订单购物车必填字段) |
attrId | Long | 否 | 规格属性id | -- |
attrName | String | 否 | 规格属性名称 | -- |
attrValueId | Long | 否 | 规格属性值id | -- |
attrValueName | String | 否 | 规格属性值名称 | -- |
attrDesc | String | 否 | 规格属性描述 | -- |
sysType | Integer | 否 | 关联系统类型 1.店铺 2.平台端 3.供应商 | -- |
searchType | Integer | 否 | 0:不需要,1:需要 | -- |
attrType | Integer | 否 | 0:销售属性,1:基本属性 | -- |
serviceProductId | Long | 否 | 服务产品id | -- |
serviceProductName | String | 否 | 服务产品名称 | -- |
externalProductCode | String | 否 | 外部商品编码(物料编码) | ipmProductCode |
productModel | String | 否 | 产品型号 | productModel |
iotModelId | String | 否 | 物模型id | modelId |
panelQty | Integer | 否 | 多路设备单路数量 | panelQty |
panelDefine | Integer | 否 | 是否允许单路设置,0-不允许,1-允许 | panelDefine |
productKey | String | 否 | iot产品标识 | productKey |
initialize | Integer | 否 | 可实例化 0否 1是 | -- |
isVirtual | Integer | 否 | 是否虚拟产品 0否 1是 | -- |
detail | String | 否 | 商品详情 | detail |
threeDimensionalParams | String | 否 | 3D需要额外字段(保存json数据) | -- |
productManualUrl | String | 否 | 产品说明书附件地址 | -- |
spuImgUrl | String | 否 | 商品图片,做轮播图 | -- |
spuImgUrls | String | 否 | 商品图片,备用 | -- |
orientedObject | String | 否 | 面向群体(枚举值:c-terminal:C端、b-terminal:B端) | -- |
isTrigger | Integer | 否 | 是否可以做为触发条件,0-不允许,1-允许 | -- |
isAction | Integer | 否 | 是否可以做为执行动作,0-不允许,1-允许 | -- |
consignee | String | 否 | 收货人 | -- |
mobile | String | 否 | 收货人电话 | -- |
provinceId | Long | 否 | 省份id | -- |
province | String | 否 | 省份 | -- |
cityId | Long | 否 | 城市id | -- |
city | String | 否 | 城市名称 | -- |
areaId | Long | 否 | 区域id | -- |
area | String | 否 | 区域名称 | -- |
addr | String | 否 | 地址 | -- |
isCompose | Integer | 否 | 是否为组合商品0普通商品,1组合商品 | -- |
price | Long | 否 | 购物车产品价格 | -- |
spuTotalAmount | Long | 否 | 商品总金额 | -- |
actualTotal | Long | 否 | 商品实际金额 = 商品总金额 - 分摊的优惠金额 | -- |
shareReduce | Long | 否 | 分摊的优惠金额 | -- |
count | Integer | 否 | 产品个数 | -- |
返回结果示例
{
"code": "00000",
"msg": null,
"data": [
{
"skuId": "353",
"skuName": null,
"spuId": "497488892048",
"spuName": "二路开关面板D1ZDK-2",
"orientedObject": "c-terminal",
"categoryName": "开关面板",
"categoryId": "3486",
"brandId": "8",
"brandName": "美的",
"attrs": null,
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"priceFee": "12900",
"marketPriceFee": "9030",
"scoreFee": 0,
"partyCode": "5120040500002",
"modelId": null,
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 10,
"createTime": "2023-05-17 14:06:17",
"updateTime": "2023-05-17 14:06:17",
"nodeType": 1,
"panelQty": 2,
"panelDefine": 1,
"isTrigger": 1,
"isAction": 1,
"productKey": "1d71ef81a36946bfa3d757fd59377ab9",
"shopId": "1",
"externalProductCode": "5120040500002",
"productModel": "A3Z-CZ-05-10A",
"iotModelId": "midea.switch.002",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null,
"consignee": "王者1号",
"mobile": null,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"isCompose": 0,
"composeSkuList": null,
"price": 12900,
"spuTotalAmount": 12900,
"actualTotal": 12900,
"shareReduce": 0,
"count": 1
},
{
"skuId": "253",
"skuName": "260厘米 头层牛皮",
"spuId": "633585737856",
"spuName": "4人位商品",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发尺寸,沙发材质",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "1000001",
"marketPriceFee": "500000",
"scoreFee": 0,
"partyCode": "P596814271504",
"modelId": "12501",
"weight": 100.0,
"volume": 2.6,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 19:37:48",
"updateTime": "2023-05-12 10:21:41",
"nodeType": null,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": null,
"shopId": "3",
"externalProductCode": "wl12",
"productModel": "wl12",
"iotModelId": null,
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala商品详情</p>",
"threeDimensionalParams": "[{\"key1\":\"123\"},{\"key2\":\"456\"}]",
"productManualUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"consignee": "王者1号",
"mobile": null,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"isCompose": 1,
"composeSkuList": [
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "243",
"skuName": "头层牛皮 爱马仕橙",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P590371820544",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 1,
"isAction": 1,
"productKey": "0dc8d89713c14d0ba3556a5f2893fa49",
"shopId": "3",
"externalProductCode": "wl01",
"productModel": "1",
"iotModelId": "dadd",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
},
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "244",
"skuName": "头层牛皮 黑色",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P588224336912",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": "393d9d59bba04e81adadc99ac19dbc43",
"shopId": "3",
"externalProductCode": "wl02",
"productModel": "2",
"iotModelId": "dad2",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
}
],
"price": 1000001,
"spuTotalAmount": 1000001,
"actualTotal": 1000001,
"shareReduce": 0,
"count": 1
},
{
"skuId": "253",
"skuName": "260厘米 头层牛皮",
"spuId": "633585737856",
"spuName": "4人位商品",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发尺寸,沙发材质",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "1000001",
"marketPriceFee": "500000",
"scoreFee": 0,
"partyCode": "P596814271504",
"modelId": "12501",
"weight": 100.0,
"volume": 2.6,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 19:37:48",
"updateTime": "2023-05-12 10:21:41",
"nodeType": null,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": null,
"shopId": "3",
"externalProductCode": "wl12",
"productModel": "wl12",
"iotModelId": null,
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala商品详情</p>",
"threeDimensionalParams": "[{\"key1\":\"123\"},{\"key2\":\"456\"}]",
"productManualUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"consignee": "王者1号",
"mobile": null,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"isCompose": 1,
"composeSkuList": [
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "243",
"skuName": "头层牛皮 爱马仕橙",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P590371820544",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 1,
"isAction": 1,
"productKey": "0dc8d89713c14d0ba3556a5f2893fa49",
"shopId": "3",
"externalProductCode": "wl01",
"productModel": "1",
"iotModelId": "dadd",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
},
{
"relQuantity": 1,
"finalPriceFee": null,
"finalMarketPriceFee": null,
"skuId": "244",
"skuName": "头层牛皮 黑色",
"spuId": "624995868800",
"spuName": "两人位沙发",
"orientedObject": "c-terminal",
"categoryName": "沙发",
"categoryId": "3418",
"brandId": "4",
"brandName": "联邦米尼沙发",
"attrs": "沙发材质,沙发颜色",
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/04/28/1ec7f1721d8c4f2ba2db7f9f2eb50d0e",
"priceFee": "2000000",
"marketPriceFee": "1000000",
"scoreFee": 0,
"partyCode": "P588224336912",
"modelId": "",
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 0,
"createTime": "2023-05-11 18:59:14",
"updateTime": "2023-05-11 18:59:15",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": "393d9d59bba04e81adadc99ac19dbc43",
"shopId": "3",
"externalProductCode": "wl02",
"productModel": "2",
"iotModelId": "dad2",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null
}
],
"price": 1000001,
"spuTotalAmount": 1000001,
"actualTotal": 1000001,
"shareReduce": 0,
"count": 1
},
{
"skuId": "353",
"skuName": null,
"spuId": "497488892048",
"spuName": "二路开关面板D1ZDK-2",
"orientedObject": "c-terminal",
"categoryName": "开关面板",
"categoryId": "3486",
"brandId": "8",
"brandName": "美的",
"attrs": null,
"imgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrl": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"spuImgUrls": "http://remac-tx.oss-cn-hangzhou.aliyuncs.com/2023/05/09/5029389c619745dea02fba38bc0b429e",
"priceFee": "12900",
"marketPriceFee": "9030",
"scoreFee": 0,
"partyCode": "5120040500002",
"modelId": null,
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 10,
"createTime": "2023-05-17 14:06:17",
"updateTime": "2023-05-17 14:06:17",
"nodeType": 1,
"panelQty": 2,
"panelDefine": 1,
"isTrigger": 1,
"isAction": 1,
"productKey": "1d71ef81a36946bfa3d757fd59377ab9",
"shopId": "1",
"externalProductCode": "5120040500002",
"productModel": "A3Z-CZ-05-10A",
"iotModelId": "midea.switch.002",
"attrList": null,
"serviceProductList": null,
"detail": "<p>balabala</p>",
"threeDimensionalParams": null,
"productManualUrl": null,
"consignee": "王者1号",
"mobile": null,
"provinceId": 110000,
"province": "北京",
"cityId": 110100,
"city": "北京市",
"areaId": 110105,
"area": "朝阳区",
"addr": "阿里巴巴总部大楼",
"isCompose": 0,
"composeSkuList": null,
"price": 12900,
"spuTotalAmount": 12900,
"actualTotal": 12900,
"shareReduce": 0,
"count": 1
}
],
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.14: 获取订单售后信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/queryOrderRefund
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
请求Body描述
{
"orderThirdId":622579949584
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
refundThirdId | Long | 是 | 记录ID |
userId | Long | 是 | 买家ID |
orderThirdId | Long | 是 | 方案订单id |
refundType | Integer | 是 | 退款单类型(1:整单退款,2:单个物品退款,3:多个物品退款) |
returnMoneySts | Integer | 是 | 处理退款状态:(1.买家申请 2.卖家接受 3.买家发货 4.退款审核 5.退款成功 -1.退款关闭) |
sourceType | Integer | 是 | 售后发起方类型:(1用户、2客服) |
applyType | Integer | 是 | 申请类型:1,仅退款,2退款退货,3退订金 |
applyRefundAmount | Long | 是 | 申请退款金额 |
applyPersonId | String | 是 | 售后发起人id(设计师或用户或者客服) |
applyPersonName | String | 是 | 售后发起人名称(设计师或用户或者客服) |
buyerName | String | 是 | 购买人户名 |
buyerBankName | String | 是 | 购买人开户行名称 |
buyerBankNo | String | 是 | 购买人开户行银行账户 |
buyerMobile | String | 是 | 购买人联系电话 |
buyerDesc | String | 是 | 购买人退款申请说明 |
buyerRefundType | Integer | 是 | 退款方式:1.线下打款 |
merchantAuditResult | Integer | 是 | 商家审批结果:1同意 2不同意 |
merchantDesc | String | 是 | 商家说明 |
merchantAuditorId | Long | 是 | 商家审批人id |
merchantAuditorName | String | 是 | 商家审批人姓名 |
actualRefundAmount | Long | 是 | 实际退款金额 |
financeAuditResult | Integer | 是 | 财务退款审批结果:1同意 2不同意 |
financialStaffDesc | String | 是 | 财务退款审核人备注 |
financialStaffId | Long | 是 | 财务退款审批人id |
financialStaffName | String | 是 | 财务退款审批人姓名 |
c3FlowCode | String | 是 | 退款-C3流程编码 |
fmsFlowCode | String | 是 | 退款-FMS流程编码 |
isReceived | Integer | 是 | 是否接收到商品(1:已收到,0:未收到) |
closeType | Integer | 是 | 退款关闭原因(1.买家撤销退款 2.卖家拒绝退款 3.退款申请超时被系统关闭) |
overTime | Date | 是 | 超时时间(超过该时间不处理,系统将自动处理)(保留字段) |
handelTime | Date | 是 | 受理时间 |
supplierTime | Date | 是 | 移交供应商时间 |
deliveryTime | Date | 是 | 发货时间 |
receiveTime | Date | 是 | 收货时间 |
closeTime | Date | 是 | 关闭时间 |
decisionTime | Date | 是 | 确定时间(确定退款时间) |
refundTime | Date | 是 | 受理时间 |
financialHandelTime | Date | 是 | 财务受理时间 |
rejectMessage | String | 是 | 拒绝原因 |
createTime | Date | 是 | 创建时间 |
updateTime | Date | 是 | 更新时间 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": [
{
"refundThirdId": 461518606352,
"userId": 453264282753,
"orderThirdId": 622579949584,
"refundType": 1,
"returnMoneySts": 5,
"sourceType": 1,
"applyType": 3,
"applyRefundAmount": 0,
"applyPersonId": "123",
"applyPersonName": "设计师小美",
"buyerName": null,
"buyerBankName": null,
"buyerBankNo": null,
"buyerMobile": null,
"buyerDesc": null,
"buyerRefundType": null,
"merchantAuditResult": null,
"merchantDesc": null,
"merchantAuditorId": null,
"merchantAuditorName": null,
"actualRefundAmount": null,
"financeAuditResult": null,
"financialStaffDesc": null,
"financialStaffId": null,
"financialStaffName": null,
"c3FlowCode": null,
"fmsFlowCode": null,
"isReceived": null,
"closeType": null,
"overTime": null,
"handelTime": null,
"supplierTime": null,
"deliveryTime": null,
"receiveTime": null,
"closeTime": null,
"decisionTime": null,
"refundTime": null,
"financialHandelTime": null,
"rejectMessage": null,
"createTime": "2023-06-08 14:16:30",
"updateTime": "2023-06-08 14:16:30"
}
],
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.15: 批量获取订单产品信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/batchQueryOrderProductInfoByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdIdList | List |
是 | 订单id列表 |
请求Body描述
{
"orderThirdIdList":[454539157520, 635464781824]
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
见获取订单产品信息 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"635464781824": null,
"454539157520": [
{
"skuId": "2748",
"skuName": null,
"spuId": "489440026752",
"spuName": "12W嵌入式射灯",
"orientedObject": "c-terminal",
"categoryName": "智能射灯",
"categoryId": "175",
"brandId": "8",
"brandName": "美的",
"attrs": null,
"imgUrl": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2023-05-23/1684803878376/酒店射灯可调角度.png",
"spuImgUrl": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2023-05-23/1684803878376/酒店射灯可调角度.png",
"spuImgUrls": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2023-05-23/1684803878376/酒店射灯可调角度.png",
"priceFee": "9",
"marketPriceFee": "9",
"scoreFee": 0,
"partyCode": "P460985799824",
"modelId": null,
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 10,
"createTime": "2023-06-08 22:02:51",
"updateTime": "2023-06-13 16:14:03",
"nodeType": 3,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 1,
"productKey": "feb82f0e8b154e15a4c500a18ade70b2",
"initialize": 1,
"isVirtual": 0,
"icon": "",
"shopId": "1",
"externalProductCode": "5150010100256",
"productModel": "MSD04-D12TX-A1",
"iotModelId": "midea.light.003.002",
"attrList": null,
"serviceProductList": null,
"detail": null,
"sellingPoint": "1、调光调色\n2、渐变速度设置\n3、支持光配方\n4、可调角度",
"installationCondition": "嵌入式安装,开孔尺寸:φ78mm",
"threeDimensionalParams": null,
"productManualUrl": null,
"consignee": "案发生法撒旦法士大夫阿斯蒂芬阿斯蒂芬碍地",
"mobile": null,
"provinceId": 120000,
"province": "天津市",
"cityId": 120100,
"city": "天津市",
"areaId": 120101,
"area": "和平区",
"addr": "阿斯打扫的暗杀 阿斯打扫的暗杀 阿斯打扫的暗杀 阿斯打扫的暗杀 阿斯打扫的暗杀 阿斯打扫的暗杀 阿斯",
"isCompose": 0,
"composeSkuList": null,
"price": 9,
"spuTotalAmount": 9,
"actualTotal": 9,
"shareReduce": 0,
"count": 1
}
]
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.16: 批量获取订单基本信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/batchQueryOrderBaseInfoByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdIdList | List |
是 | 订单id列表 |
请求Body描述
{
"orderThirdIdList":[454539157520, 635464781824]
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
见获取订单基本信息 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"635464781824": {
"orderThirdId": 635464781824,
"sourceType": 1,
"userId": 484939474065,
"total": 0,
"actualTotal": 0,
"depositTotal": 1,
"payTotal": 0,
"status": 10,
"payType": null,
"allCount": 0,
"pkgCount": 0,
"payTime": null,
"finallyTime": null,
"settledTime": null,
"cancelTime": null,
"isPayed": 0,
"closeType": null,
"refundStatus": null,
"shopRemarks": null,
"remarks": null,
"deleteStatus": 0,
"writeOffStatus": null,
"writeOffNum": null,
"writeOffMultipleCount": null,
"writeOffStart": null,
"writeOffEnd": null,
"freightAmount": null,
"reduceAmount": 0,
"engineeringServiceAmount": null,
"shopChangeFreeAmount": 0,
"orderTcId": 465813508096,
"layoutName": "测试数据",
"layoutId": 17782,
"layoutVersionId": 17782,
"layoutVersion": "1",
"layoutShopId": 80,
"layoutShopName": "广东省佛山市顺德区北滘镇睿住智能3号分店",
"managerName": null,
"managerPhone": null,
"createTime": "2023-06-14 10:37:53",
"updateTime": "2023-06-14 10:37:53",
"custId": 1121,
"custName": "伊丽莎白的英国女王王",
"custAddr": "策马买很多双三年的半年报那大部分宁波宁波第三方宁波被第三方不喝酒比得上就放寒假大家是否回家不合适的肺",
"custPhone": "15677899900",
"depositTime": null,
"orderTime": null,
"fullPayTime": null,
"takeDeliveryFullTime": null
},
"454539157520": {
"orderThirdId": 454539157520,
"sourceType": 1,
"userId": 484939474065,
"total": 9,
"actualTotal": 9,
"depositTotal": 0,
"payTotal": 9,
"status": 2,
"payType": null,
"allCount": 1,
"pkgCount": 0,
"payTime": "2023-06-14 11:16:01",
"finallyTime": null,
"settledTime": null,
"cancelTime": null,
"isPayed": 1,
"closeType": null,
"refundStatus": null,
"shopRemarks": null,
"remarks": "",
"deleteStatus": 0,
"writeOffStatus": null,
"writeOffNum": null,
"writeOffMultipleCount": null,
"writeOffStart": null,
"writeOffEnd": null,
"freightAmount": null,
"reduceAmount": 0,
"engineeringServiceAmount": 0,
"shopChangeFreeAmount": 0,
"orderTcId": 491583311872,
"layoutName": "测试数据",
"layoutId": 17814,
"layoutVersionId": 17814,
"layoutVersion": "1",
"layoutShopId": 80,
"layoutShopName": "广东省佛山市顺德区北滘镇睿住智能3号分店",
"managerName": "",
"managerPhone": "",
"createTime": "2023-06-14 11:15:19",
"updateTime": "2023-06-14 11:16:01",
"custId": 1121,
"custName": "伊丽莎白的英国女王王",
"custAddr": "策马买很多双三年的半年报那大部分宁波宁波第三方宁波被第三方不喝酒比得上就放寒假大家是否回家不合适的肺",
"custPhone": "15677899900",
"depositTime": "2023-06-14 11:15:20",
"orderTime": "2023-06-14 11:15:59",
"fullPayTime": null,
"takeDeliveryFullTime": null
}
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.17: 批量获取订单包裹信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/batchQueryOrderDeliveryInfoByOrderId
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdIdList | List |
是 | 订单id列表 |
请求Body描述
{
"orderThirdIdList":[491851685888, 466081947664]
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
见获取订单包裹信息 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"466081947664": [
{
"orderThirdId": 466081947664,
"deliveryOrderId": 2306171615764176,
"orderId": 2306176594484073,
"deliveryCompanyId": 29,
"deliveryCompanyName": "宅急送",
"deliveryNo": "14313514123",
"consigneeName": "乌兰察布",
"consigneeMobile": "13546546456",
"status": 1,
"allCount": 1,
"deleteTime": null,
"deliveryType": 1,
"provinceId": 150000,
"province": "内蒙古自治区",
"cityId": 150900,
"city": "乌兰察布市",
"areaId": 150926,
"area": "察哈尔右翼前旗",
"addr": "昂大概打发点",
"createTime": "2023-06-17 17:05:03",
"updateTime": "2023-06-17 17:05:03",
"receiptTime": null,
"skuList": [
{
"skuId": "2675",
"skuName": null,
"spuId": "603256721552",
"spuName": "加湿器",
"orientedObject": "c-terminal",
"categoryName": "加湿器",
"categoryId": "224",
"brandId": "8",
"brandName": "美的",
"attrs": null,
"imgUrl": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-11-29/1669713654306/P51.png",
"spuImgUrl": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-11-29/1669713654306/P51.png",
"spuImgUrls": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-11-29/1669713654306/P51.png",
"priceFee": "3",
"marketPriceFee": "2",
"scoreFee": 0,
"partyCode": "P592246678672",
"modelId": null,
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 10,
"createTime": "2023-06-08 22:02:40",
"updateTime": "2023-06-11 19:15:35",
"nodeType": 1,
"panelQty": null,
"panelDefine": null,
"isTrigger": 1,
"isAction": 1,
"productKey": "6222a00950174c45a2481b104f41f228",
"initialize": 1,
"isVirtual": 0,
"icon": null,
"shopId": "1",
"externalProductCode": "5130130100016",
"productModel": "SPWQ100Y-A01",
"iotModelId": "0xFD",
"attrList": null,
"serviceProductList": null,
"detail": "",
"sellingPoint": "款式:台面式\n加湿方式:有雾\n操控方式:APP操控\n加湿档位:3档",
"installationCondition": "平整桌面/地面放置",
"threeDimensionalParams": null,
"productManualUrl": null,
"consignee": null,
"mobile": null,
"provinceId": null,
"province": null,
"cityId": null,
"city": null,
"areaId": null,
"area": null,
"addr": null,
"isCompose": 0,
"composeSkuList": null,
"price": null,
"spuTotalAmount": null,
"actualTotal": null,
"shareReduce": null,
"count": 1
}
]
}
]
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.18: 批量获取未发货产品列表
请求信息
HTTP协议:HTTP,HTTPS
uri:/bizPlatform/order/batchQueryUnDeliverProduct
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdIdList | List |
是 | 订单id列表 |
请求Body描述
{
"orderThirdIdList":[457491947536, 457491947520]
}
返回参数类型
JSON
返回参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
见获取未发货产品列表 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": {
"457491947520": [
{
"skuId": "2780",
"skuName": null,
"spuId": "488903286912",
"spuName": "可燃气体探测器",
"orientedObject": "c-terminal",
"categoryName": "燃气探测器",
"categoryId": "123",
"brandId": "53",
"brandName": "REMAC",
"attrs": null,
"imgUrl": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-11-29/1669712779592/P81.png",
"spuImgUrl": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-11-29/1669712779592/P81.png",
"spuImgUrls": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-11-29/1669712779592/P81.png",
"priceFee": "2",
"marketPriceFee": "1",
"scoreFee": 0,
"partyCode": "P461522670736",
"modelId": null,
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 10,
"createTime": "2023-06-08 22:10:06",
"updateTime": "2023-06-14 14:33:03",
"nodeType": 1,
"panelQty": null,
"panelDefine": null,
"isTrigger": 0,
"isAction": 0,
"productKey": "a27f16e3994e41dd84aebd44d87073fe",
"initialize": 1,
"isVirtual": 0,
"icon": null,
"shopId": "1",
"externalProductCode": "5120010200001",
"productModel": "T-GAS30",
"iotModelId": "remac.env.001",
"attrList": null,
"serviceProductList": null,
"detail": "",
"sellingPoint": "可燃气体监测",
"installationCondition": "施工预留:零火电源线及Φ63mm孔位",
"threeDimensionalParams": null,
"productManualUrl": null,
"consignee": "郑世明",
"mobile": "17665172379",
"provinceId": 440000,
"province": "广东省",
"cityId": 440600,
"city": "佛山市",
"areaId": 440606,
"area": "顺德区",
"addr": "置业写字楼",
"isCompose": 0,
"composeSkuList": null,
"price": 2,
"spuTotalAmount": 2,
"actualTotal": 2,
"shareReduce": 0,
"count": 1
}
],
"457491947536": [
{
"skuId": "2623",
"skuName": null,
"spuId": "629026459792",
"spuName": "水浸探测器(无线)",
"orientedObject": "c-terminal",
"categoryName": "无线水浸探测器",
"categoryId": "124",
"brandId": "8",
"brandName": "美的",
"attrs": null,
"imgUrl": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-11-29/1669712755629/P79.png",
"spuImgUrl": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-11-29/1669712755629/P79.png",
"spuImgUrls": "https://mideazy-public.oss-cn-hangzhou.aliyuncs.com/file/upload/product/2022-11-29/1669712755629/P79.png",
"priceFee": "2",
"marketPriceFee": "1",
"scoreFee": 0,
"partyCode": "P600836547728",
"modelId": null,
"weight": null,
"volume": null,
"status": 1,
"supplierSkuId": null,
"stockWarning": 10,
"createTime": "2023-06-08 22:02:33",
"updateTime": "2023-06-11 19:24:04",
"nodeType": 1,
"panelQty": null,
"panelDefine": null,
"isTrigger": 1,
"isAction": 0,
"productKey": "edcea615a54f47b88a9d91b1ca3f4199",
"initialize": 1,
"isVirtual": 0,
"icon": null,
"shopId": "1",
"externalProductCode": "5120010200003",
"productModel": "T-WAT30",
"iotModelId": "remac.env.104",
"attrList": null,
"serviceProductList": null,
"detail": "",
"sellingPoint": "水浸监测",
"installationCondition": "施工预留:安装位置",
"threeDimensionalParams": null,
"productManualUrl": null,
"consignee": "郑世明",
"mobile": "17665172379",
"provinceId": 440000,
"province": "广东省",
"cityId": 440600,
"city": "佛山市",
"areaId": 440606,
"area": "顺德区",
"addr": "置业写字楼",
"isCompose": 0,
"composeSkuList": null,
"price": 2,
"spuTotalAmount": 2,
"actualTotal": 2,
"shareReduce": 0,
"count": 1
}
]
},
"version": "mall4j.v230424",
"success": true,
"fail": false
}
1.19: 根据订单id和skuId获取包裹信息
请求信息
HTTP协议:HTTP,HTTPS
uri:/tx/platform-biz/remac-tx-merchandise/bizPlatform/order/queryOrderDeliveryInfo
HTTP头:bizToken
方法:POST/JSON
请求参数
名称 | 类型 | 必填 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
skuId | Long | 是 | skuId |
请求Body描述
{
"orderThirdId": 637079670912,
"skuId": 122264
}
返回参数
名称 | 类型 | 非空 | 描述 |
---|---|---|---|
orderThirdId | Long | 是 | 订单id |
deliveryOrderId | Long | 是 | 订单物流包裹id |
orderId | Long | 是 | 子订单id |
spuId | Long | spuId | |
skuId | Long | skuId | |
deliveryCompanyId | Long | 快递公司id | |
deliveryCompanyName | String | 快递公司名称 | |
deliveryNo | String | 快递单号 | |
consigneeName | String | 收件人姓名 | |
consigneeMobile | String | 收件人电话(顺丰快递需要) | |
status | Integer | 是 | 物流状态 1正常 -1删除 5已收货 |
allCount | Integer | 是 | 包裹商品总数 |
deliveryType | Integer | 发货方式(1.快递 3.无需物流) | |
provinceId | Long | 省ID | |
province | String | 省 | |
cityId | Long | 城市ID | |
city | String | 城市 | |
areaId | Long | 区域ID | |
area | String | 区 | |
addr | String | 地址 | |
createTime | Date | 创建时间 | |
updateTime | Date | 更新时间 | |
receiptTime | Date | 确认收货时间 |
返回结果示例
{
"code": "00000",
"msg": null,
"data": [
{
"orderThirdId": 637079670912,
"deliveryOrderId": 2309202404755257,
"orderId": 2309202281128769,
"spuId": 488903091200,
"skuId": 122264,
"deliveryCompanyId": null,
"deliveryCompanyName": null,
"deliveryNo": "YT7414186147466",
"consigneeName": "三门峡",
"consigneeMobile": "18989684396",
"status": 5,
"allCount": 2,
"deliveryType": null,
"provinceId": 410000,
"province": "河南省",
"cityId": 411200,
"city": "三门峡市",
"areaId": 411202,
"area": "湖滨区",
"addr": "三门峡1号大坝",
"createTime": "2023-11-22 03:13:13",
"updateTime": "2023-11-22 03:13:13",
"receiptTime": null
}
],
"version": "mall4j.v230424",
"fail": false,
"success": true
}