请求方式 | 版本信息 | 请求地址 |
---|---|---|
POST | V2 | http://openapi.zvcms.com/api/v2 |
参数 | 参数类型 | 是否必填 | 默认值 | 描述 |
---|---|---|---|---|
OpenId | string | 是 | 密钥Id | |
GrantCode | string | 是 | 授权code | |
Token | string | 是 | 签名,参考《数字签名sign》 | |
Timestamp | string | 是 | 当前时间戳 | |
Nonce | string | 是 | 随机正整数 | |
Action | string | 是 | communal.order.order-detail | 接口方法 |
Params | array | 是 | 业务参数 |
参数 | 参数类型 | 是否必填 | 默认值 | 描述 |
---|---|---|---|---|
orderNo | string | 是 | 订单编号 | |
bizType | int | 是 | 业务编码--餐饮1/零售2/店小铺3/烘焙4/营销101 | |
userId | number | 否 | 用户ID |
参数 | 参数类型 | 描述 |
---|---|---|
activityInfoMap | object | 活动信息 |
actualAmount | number | 实付金额 |
addr | array | |
├acceptName | string | 接收地址 |
├areaName | string | 地区 |
├cityName | string | 城市 |
├provinceName | string | 省 |
├doorNumber | string | 门号 |
├label | string | 标签 |
├lat | string | 纬度 |
├lng | string | 经度 |
├mobile | string | 手机号 |
├orderNo | string | 订单号 |
├sex | int | 性别 |
├street | int | 街道 |
├zip | string | 邮编 |
afterSaleStatus | int | 售后状态 |
bizSubType | int | 业务子类型 |
bizType | int | 业务类型 |
buyerRemarks | string | 买家备注 |
changeAmount | int | 找零金额 |
commentAt | string | 评价时间 |
commentStatus | int | 评价状态 |
completedAt | string | 订单完成时间 |
costAmount | int | 成本总金额 |
createdAt | int | 创建时间 |
discountAmount | int | 优惠总金额 |
discountList | array | |
├0 | array | |
├createdAt | string | 创建时间 |
├discountAmount | int | 折扣金额 |
├discountLevel | int | 折扣等级 |
├discountName | string | 折扣名称 |
├discountSummary | string | 折扣描述 |
├discountType | int | 折扣类型 |
├orderNo | string | 订单编号 |
├userId | int | 用户id |
freightAmount | int | 运费总金额 |
fromSystem | int | 来源系统 |
invoiceType | int | 发票类型 |
isAlone | int | 是否独立收款 |
isReceipt | int | 是否打印 |
itemAmount | int | 商品总金额 |
itemList | array | |
├0 | array | |
├costPrice | int | 成本价 |
├discountAmount | int | 优惠金额 |
├itemName | string | 商品名称 |
├itemPrice | int | 商品成交价格 |
├itemSpec | string | 商品规格 |
├itemUnit | string | 商品单位 |
├num | number | 购买数量 |
├packAmount | int | 包装费 |
mobile | string | 联系方式 |
orderAt | string | 下单时间 |
orderNo | string | 订单号 |
orderSubType | int | 订单子类型 |
orderType | int | 订单类型 |
packAmount | int | 包装总金额 |
payAmount | int | 支付金额 |
payAt | string | 支付时间 |
payModel | int | 支付模式 |
payNo | string | 支付单号 |
payStatus | string | 支付状态 |
payType | string | 支付方式 |
receiveAt | string | 接单时间 |
receiveStatus | int | 接单状态 |
refusalReason | string | 拒单原因 |
sellerRemarks | string | 商家备注 |
source | int | 订单来源 |
sourceNo | string | 来源单号 |
storeId | int | 门店id |
storeOrderNo | string | 店内单号 |
thirdPayNo | string | 第三方支付单号 |
totalAmount | int | 订单总金额 |
userId | int | 用户id |
status | int | 订单状态 |
{ "OpenId": "6dc05b4ac175cf316d226252b05cf685", "GrantCode": "782c281f62", "Timestamp": "1547186244", "Nonce": "658965", "Token": "0%2B%2B3c6hthjwAml4ABAXOYF4Q6UY%3D", "Action": "communal.order.order-detail", "Params": { "orderNo": "", "bizType": "", "userId": "" } }
{ "status": "true", "code": "0", "message": "说明", "data": { "activityInfoMap": "", "actualAmount": "", "addr": { "acceptName": "", "areaName": "", "cityName": "", "provinceName": "", "doorNumber": "", "label": "", "lat": "", "lng": "", "mobile": "", "orderNo": "", "sex": "", "street": "", "zip": "" }, "afterSaleStatus": "", "bizSubType": "", "bizType": "", "buyerRemarks": "", "changeAmount": "", "commentAt": "", "commentStatus": "", "completedAt": "", "costAmount": "", "createdAt": "", "discountAmount": "", "discountList": [ { "createdAt": "", "discountAmount": "", "discountLevel": "", "discountName": "", "discountSummary": "", "discountType": "", "orderNo": "", "userId": "" } ], "freightAmount": "", "fromSystem": "", "invoiceType": "", "isAlone": "", "isReceipt": "", "itemAmount": "", "itemList": [ { "costPrice": "", "discountAmount": "", "itemName": "", "itemPrice": "", "itemSpec": "", "itemUnit": "", "num": "", "packAmount": "" } ], "mobile": "", "orderAt": "", "orderNo": "", "orderSubType": "", "orderType": "", "packAmount": "", "payAmount": "", "payAt": "", "payModel": "", "payNo": "", "payStatus": "", "payType": "", "receiveAt": "", "receiveStatus": "", "refusalReason": "", "sellerRemarks": "", "source": "", "sourceNo": "", "storeId": "", "storeOrderNo": "", "thirdPayNo": "", "totalAmount": "", "userId": "", "status": "" } }
{ "status": true, "code": "异常编码,根据不同的业务返回编码", "message": "异常说明:查询的信息不存在" }
{ "status": false, "code": "系统错误编码:详见全局返回编码", "message": "系统错误说明" }
免费升级
营销功能、插件持续每月更新开发升级
免费专业培训
每月建站、微信营销、电商等互联网增值培训
7×24小时服务支持
400电话、QQ、微信、在线等多渠道售后支持
安徽智迈科技股份有限公司 版权所有 Copyright 2009-2018 皖公网安备 34019202000074号 增值电信业务经营许可证:皖B2-20170075