名称 | 类型 | 必选 | 描述 |
---|---|---|---|
app_key | Long | 是 | 接入时申请的app_key |
method | String | 是 | 接口名称 |
access_token | String | 是 | Oauth2.0授权获得的access_token |
sign | String | 是 | 对 API 调用参数(除sign外)进行 md5 加密获得。参数的顺序为字母表的顺序 |
timestamp | Long | 是 | 时间戳,使用Unix时间戳格式 |
format | String | 是 | 响应格式。默认为json格式,固定 |
sign_method | String | 否 | 参数的加密方法选择,当前只支持Md5 |
version | String | 否 | API协议版本,固定值为:1.0 |
名称 | 类型 | 必选 | 描述 | 示例值 |
---|---|---|---|---|
openApiOrderDetailReqDto
|
Object | 是 | 查询参数 | |
shopOrderId
|
Number | 是 | 店铺级订单id | 91341793022324 |
userId
|
Number | 是 | 用户id,不需要填写 |
名称 | 类型 | 描述 | 默认值 |
---|---|---|---|
shopOrderId
|
Number | 店铺级订单ID | |
orderStatus
|
String | 订单状态,包括: ORDER_CREATED - 已下单 ORDER_CANCELLED - 订单取消 ORDER_PAID - 已支付 ORDER_SHIPPED - 已发货 ORDER_RECEIVED - 已收货 ORDER_COMPLETED - 订单完成 ORDER_CLOSED - 订单关闭 |
|
createdStr
|
String | 订单创建时间,格式:yyyy-MM-dd HH:mm:ss | |
payTimeStr
|
String | 订单支付时间,格式:yyyy-MM-dd HH:mm:ss | |
shipTimeStr
|
String | 订单发货时间,格式:yyyy-MM-dd HH:mm:ss | |
receiveTimeStr
|
String | 订单收货时间,格式:yyyy-MM-dd HH:mm:ss | |
buyerName
|
String | 买家昵称,是用户自己设置的,不唯一 | |
buyerAccountId
|
String | 买家账户ID,是用户登录的账号,唯一 | |
sellerName
|
String | 卖家昵称 | |
sellerAccountId
|
String | 卖家账户ID | |
shopOrderType
|
String | 订单市场类型,包括: MOGUJIE_MARKET:蘑菇街市场 DEFAULT_MARKET:默认市场 GO_MARKET:番茄炒蛋 |
|
shopOrderPrice
|
Number | 订单价格,含运费和关税,单位:分,计算规则如下: 商品订单价格之和 - 店铺优惠+shipExpense(运费) + tariff(关税) |
|
promotionAmount
|
Number | 支付级优惠(分) | |
number
|
Number | 包含的商品级订单数量 | |
isRate
|
Boolean | 订单是否已经评价 | |
buyerComment
|
String | ||
sellerComment
|
String | 卖家备注 | |
shipType
|
Number | 发货类型,取值如下: 0 - 快递 1 - 小店卖家直接发货 2 - 海淘-转运 3 - 海淘-商业快件 4 - 虚拟交易 5 - 保税仓 |
|
receiverName
|
String | 收货人姓名 | |
receiverMobile
|
String | 收货人手机 | |
receiverProvince
|
String | 收货人省份 | |
receiverCity
|
String | 收货人城市 | |
receiverArea
|
String | 收货人区 | |
receiverAddress
|
String | 收货人地址 | |
receiverZip
|
String | 收货人邮编 | |
receiverPhone
|
String | 收货人联系电话 | |
shipExpressId
|
String | 快递编号 | |
shipExpressName
|
String | 快递公司名 | |
stageStatus
|
String | 多阶段订单的状态,目前包括:UN_PRE_PAY、WAITING_TAIL_PAY_OPEN、UN_TAIL_PAY、TAIL_PAY_SUCCESS | |
payOrderId
|
Number | 支付级订单ID | |
cardInfo
|
Object | 身份证信息,仅当海淘订单会返回,CardInfo的类信息如下: name String 姓名 cardId String 身份证号 cardFrontUrl String 身份证正面 cardBackUrl String 身份证背面 |
|
itemOrderInfos
|
Object[] | 商品级订单信息列表 | |
itemOrderId
|
Number | 商品级订单ID | |
itemId
|
String | 商品id | |
skuId
|
String | skuId | |
itemCode
|
String | 商品编码 | |
title
|
String | 商品标题 | |
imgUrl
|
String | 商品主图 | |
skuCode
|
String | sku编码 | |
skuAttributes
|
Object[] | 商品sku描述 | |
number
|
Number | 商品数量 | |
price
|
Number | 商品原价,单位:分 | |
nowPrice
|
Number | 商品现价,单位:分 | |
orderStatus
|
String | 订单状态(只用来判断是否发货,不包含逆向状态) | |
refundStatus
|
String | 退款状态,包含: return_goods_requested - 买家发起退货,等待卖家同意 return_goods_agreed - 卖家同意,等待买家退货 return_goods_shipped - 买家发货,等待卖家收货 refund_requested - 买家发起退款,等待卖家同意 refund_or_return_deal_agreed - 买卖家协商一致,等待资金退款 refund_or_return_seller_refused - 买家退款或退货被卖家拒绝 return_goods_seller_declare_not_received - 买家发货后,卖家未收到货 refund_completed - 退款完成 refund_cancelled - 退款取消 |
|
sellerFinal
|
Number | 卖家实收,单位:分 | |
supplyPrice
|
Number | 供货价,单位:分 | |
extraMap
|
Object | 额外信息 | |
actorId
|
Number | 主播id | |
actorName
|
String | 主播名 | |
shopPromotionAmount
|
String | 店铺优惠(分) | |
platformPromotionAmount
|
String | 平台优惠(分) | |
updatedStr
|
String | 订单更新时间,格式:yyyy-MM-dd HH:mm:ss | |
extraMap
|
Object | 跨境专用,其他无需关心,这个结构是Map, 包含的Key有: idCardCode(身份证编号) idCardName(身份证名称) idCardMobile(身份证手机号) payChannelCode(支付企业编码) paymentNo(交易支付流水号) tariff(关税) declareNo(地方版支付报关流水号) declareNoZS(总署版支付报关流水号) identityCheck(跨境订单中订购人和支付人身份是否一致,T:一致;F:不一致,空为未校验) |
|
modifyPrice
|
Number | 店铺单改价差额, shopOrderPrice这是店铺单的实付价格,货款价格-店铺级别优惠+运费+关税, 如果出参中的shopOrderPrice为2,modifyPrice为1,则改价前的价格为3; 如果出参中的shopOrderPrice为70,modifyPrice为-10,则改价前的价格为60; | |
buyerFinalPrice
|
Number | 买家实付金额 |
1).{
"shopOrderId":1111111111
}
1).{
"result": {
"data": {
"buyerAccountId": "九丐",
"buyerName": "九丐",
"buyerUserId": 125339319,
"createdStr": "2017-12-28 10:06:16",
"isRate": false,
"itemOrderInfos": [
{
"img": "/mlcdn/c45406/171226_1kcgfj43c1a4l86j0kebk82d615a0_1080x1440.jpg",
"imgUrl": "http://s3.mogucdn.com/mlcdn/c45406/171226_1kcgfj43c1a4l86j0kebk82d615a0_1080x1440.jpg",
"itemCode": "0012",
"itemId": "1lob9qc",
"itemOrderId": 73928569059319,
"nowPrice": 1,
"number": 1,
"orderStatus": "ORDER_SHIPPED",
"price": 1,
"refundStatus": "",
"skuAttributes": [
{
"key": "颜色",
"value": "金色"
},
{
"key": "尺码",
"value": "均码"
}
],
"skuCode": "0012",
"skuId": "1ygm306",
"title": "毛衣123"
}
],
"number": 1,
"orderStatus": "ORDER_SHIPPED",
"orderTags": [],
"payOrderId": 73928569039319,
"payTimeStr": "2017-12-28 10:08:26",
"platformPromotionAmount": 0,
"processResponseDTO": {
"inputTag": "0",
"itemTag": "0",
"itemTypeTag": "0",
"marketTag": "8",
"sellerTag": "0",
"userTag": "0"
},
"promotionAmount": 0,
"receiveTimeStr": "1970-01-01 08:00:00",
"receiverAddress": "dfasl的费拉达斯健康",
"receiverArea": "建昌县",
"receiverCity": "葫芦岛市",
"receiverMobile": "13398782832",
"receiverName": "简单",
"receiverPhone": "13398782832",
"receiverProvince": "辽宁省",
"receiverZip": "313000",
"sellerAccountId": "jiwan2",
"sellerName": "jiwan2",
"sellerUserId": 62542216,
"shipExpense": "0",
"shipExpressId": "2131321321",
"shipExpressName": "huitongkuaidi",
"shipTimeStr": "2017-12-28 10:35:22",
"shipType": 0,
"shopOrderId": 73928569049319,
"shopOrderPrice": 1,
"shopOrderType": "MOGUJIE_MARKET",
"shopPromotionAmount": 0,
"stageStatus": "ORDER_SHIPPED",
"updatedStr": "2017-12-28 10:35:22"
}
},
"status": {
"code": "0000000",
"msg": "调用成功"
},
"success": true
}
1).
{
"result": {},
"status": {
"code": "1200001",
"msg": "该参数无结果值"
}
}