- 官方AI产品模块
- AI角色预设模块
- AI产品模块
- AI提示模块
- 应用模块
- 内容模块
- 商家地址库
- 权益卡模块
- 客服模块
- 公共模块
- 短信模块
- 系统公告模块
- 门店模块
- 商品模块
- 营销模块
- 售后服务模块
- 购物车模块
- 包裹物流模块
- 订单模块
- 支付模块
- 礼品模块
- 搜索模块
- 用户AI模块
- 用户会员模块
- 用户优惠券模块
- 分销员模块
- 用户收藏模块
- 用户登录模块
- 用户退出登录模块
- 用户订单模块
- 会员充值模块
- 用户注册模块
- 用户微信模块
- 用户提现模块
订单详情
GET
https://api.shakingcloud.com/api/user/order/detail
用户订单模块
请求参数
Query 参数
orderSn
string
订单号
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.shakingcloud.com/api/user/order/detail'
返回响应
🟢200OK
application/json
Body
attributes
object
可选
code
string
可选
data
object (Order)
可选
address
string
可选
amount
number
可选
amountPaid
number
可选
appId
string
可选
areaIds
string
可选
areaName
string
可选
cardno
string
可选
channel
string
可选
codPayDeposit
number
可选
commission
number
可选
commissionStatus
enum<string>
可选
枚举值:
waitingSettlementsettlementedinvalid
confirmReceiptDate
string <date-time>
可选
confirmReceiptDateStr
string
可选
consignee
string
可选
couponCode
string
可选
couponCodeKey
string
可选
createDate
string <date-time>
可选
createStr
string
可选
discountAmount
number
可选
email
string
可选
expired
string <date-time>
可选
expiredTimeStr
string
可选
externalCustomerMobile
string
可选
externalCustomerName
string
可选
externalCustomerSn
string
可选
externalPayMethod
string
可选
externalSalerInfo
string
可选
externalSn
string
可选
externalType
string
可选
externalTypeCode
string
可选
fee
number
可选
freight
number
可选
fromUserId
integer <int64>
可选
giftPoints
integer <int32>
可选
isCommented
boolean
可选
isSyncErp
boolean
可选
items
array[object (OrderItem) {40}]
可选
key
string
可选
lockExpired
string <date-time>
可选
memo
string
可选
modifyDate
string <date-time>
可选
note
string
可选
orderClerkType
enum<string>
可选
枚举值:
customersalesman
orderStatus
enum<string>
可选
枚举值:
unconfirmedconfirmedcompletedcancelled
payMethod
enum<string>
可选
枚举值:
fullPaymentinstalmentcodPay
payMethodName
string
可选
paymentStatus
enum<string>
可选
枚举值:
unpaidpartialPaymentpaidpartialRefundsrefunded
phone
string
可选
points
integer <int32>
可选
productType
enum<string>
可选
枚举值:
goodsvirtual
promotionMethod
enum<string>
可选
枚举值:
nothingcouponpromoCode
receivedAmount
number
可选
receiverKey
string
可选
remindShippingDate
string <date-time>
可选
remindShippingTimes
integer <int32>
可选
shippingDate
string <date-time>
可选
shippingDateStr
string
可选
shippingMethod
string
可选
shippingMethodName
string
可选
shippingStatus
enum<string>
可选
枚举值:
unshippedpartialShippedshippedpartialReturnsreturned
sn
string
可选
status
enum<string>
可选
枚举值:
unpaidpaidunshippedshippedcompletedclosedwaitingProcessedwaitingClaimed
statusName
string
可选
surplusAmount
number
可选
tax
number
可选
tkey
string
可选
totalAmount
number
可选
totalQuantity
integer <int32>
可选
type
enum<string>
可选
枚举值:
normalpointsrent
user
object (User)
可选
userId
integer <int64>
可选
userKey
string
可选
userParentId
integer <int64>
可选
msg
string
可选
success
boolean
可选
totalCount
integer <int64>
可选
示例
{
"attributes": {},
"code": "string",
"data": {
"address": "string",
"amount": 0,
"amountPaid": 0,
"appId": "string",
"areaIds": "string",
"areaName": "string",
"cardno": "string",
"channel": "string",
"codPayDeposit": 0,
"commission": 0,
"commissionStatus": "waitingSettlement",
"confirmReceiptDate": "2019-08-24T14:15:22Z",
"confirmReceiptDateStr": "string",
"consignee": "string",
"couponCode": "string",
"couponCodeKey": "string",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"discountAmount": 0,
"email": "string",
"expired": "2019-08-24T14:15:22Z",
"expiredTimeStr": "string",
"externalCustomerMobile": "string",
"externalCustomerName": "string",
"externalCustomerSn": "string",
"externalPayMethod": "string",
"externalSalerInfo": "string",
"externalSn": "string",
"externalType": "string",
"externalTypeCode": "string",
"fee": 0,
"freight": 0,
"fromUserId": 0,
"giftPoints": 0,
"isCommented": true,
"isSyncErp": true,
"items": [
{
"afterSaleSn": "string",
"afterSaleStatus": "nothing",
"amount": 0,
"amountPaid": 0,
"codPayDeposit": 0,
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"discount": 0,
"fullName": "string",
"goodsExternalSn": "string",
"goodsKey": "string",
"goodsSn": "string",
"goodsType": "virtual",
"image": "string",
"isGift": true,
"isRent": true,
"key": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"orderKey": "string",
"paymentStatus": "unpaid",
"points": 0,
"price": 0,
"quantity": 0,
"reduceStockMode": "placeOrder",
"remark": "string",
"rentEndDate": "2019-08-24T14:15:22Z",
"rentQuantity": 0,
"returnQuantity": 0,
"shippedQuantity": 0,
"shippingStatus": "unshipped",
"skuExternalSn": "string",
"skuKey": "string",
"specValueNames": "string",
"subtotal": 0,
"tkey": "string",
"totalAmount": 0,
"unit": "string",
"unitType": "year",
"weight": 0
}
],
"key": "string",
"lockExpired": "2019-08-24T14:15:22Z",
"memo": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"note": "string",
"orderClerkType": "customer",
"orderStatus": "unconfirmed",
"payMethod": "fullPayment",
"payMethodName": "string",
"paymentStatus": "unpaid",
"phone": "string",
"points": 0,
"productType": "goods",
"promotionMethod": "nothing",
"receivedAmount": 0,
"receiverKey": "string",
"remindShippingDate": "2019-08-24T14:15:22Z",
"remindShippingTimes": 0,
"shippingDate": "2019-08-24T14:15:22Z",
"shippingDateStr": "string",
"shippingMethod": "string",
"shippingMethodName": "string",
"shippingStatus": "unshipped",
"sn": "string",
"status": "unpaid",
"statusName": "string",
"surplusAmount": 0,
"tax": 0,
"tkey": "string",
"totalAmount": 0,
"totalQuantity": 0,
"type": "normal",
"user": {
"account": "string",
"address": "string",
"app": {
"accessToken": "string",
"accessTokenExpired": "2019-08-24T14:15:22Z",
"appId": "string",
"appKey": "string",
"authAppId": "string",
"authAppSecret": "string",
"authMethod": "appSecret",
"autoOpenMember": "string",
"baiduLinkSubmitAddress": "string",
"buyPointsPagePath": "string",
"cartPageType": "tabbar",
"cartPageUrl": "string",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"domain": "string",
"douyinQrcode": "string",
"enabledRecharge": true,
"expired": "2019-08-24T14:15:22Z",
"footer": {
"property1": {},
"property2": {}
},
"hasExpired": true,
"header": {
"property1": {},
"property2": {}
},
"introduction": "string",
"isShowCopyright": true,
"jsApiTicket": "string",
"jsApiTicketExpired": "2019-08-24T14:15:22Z",
"key": "string",
"logo": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"packageName": "string",
"packageUrl": "string",
"payMethods": "string",
"pcDomain": "string",
"productCode": "string",
"productKey": "string",
"productName": "string",
"refreshToken": "string",
"serviceCategory": "string",
"skuKey": "string",
"sort": 0,
"status": "wait",
"tid": 0,
"tkey": "string",
"type": "weixin",
"version": "string",
"versionCode": 0,
"versionIntro": "string",
"websocket": "string",
"wxKfQrcode": "string",
"wxMpQrcode": "string"
},
"appId": "string",
"areaName": "string",
"asset": {
"accuPoints": 0,
"amount": 0,
"balance": 0,
"distributionAmount": 0,
"frozenBalance": 0,
"frozenPoints": 0,
"points": 0,
"rechargeAmount": 0,
"rechargeTimes": 0,
"userId": 0
},
"autograph": "string",
"avatar": "string",
"barcode": "string",
"becomeDistributorDate": "2019-08-24T14:15:22Z",
"birthday": "2019-08-24T14:15:22Z",
"card": {
"activateWay": "obtain",
"background": "string",
"beginDate": "2019-08-24T14:15:22Z",
"benefits": [
{
"benefitCode": "string",
"benefitDisplayName": "string",
"benefitIcon": "string",
"benefitName": "string",
"benefitValue": "string"
}
],
"bgType": "custom",
"cardnoMode": "mobile",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"days": 0,
"description": "string",
"endDate": "2019-08-24T14:15:22Z",
"instruction": "string",
"introduction": "string",
"isDefault": true,
"isEnabled": true,
"isSyncWx": true,
"key": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"obtainType": "direct",
"points": 0,
"prefix": "string",
"price": 0,
"profiles": [
{
"attributeKey": "string",
"attributeName": "string",
"cardKey": "string",
"formItemType": "input",
"isRequired": true
}
],
"rankId": 0,
"rankKey": "string",
"remark": "string",
"stock": 0,
"termType": "forever",
"times": 0,
"tkey": "string",
"totalAmount": 0,
"totalPoints": 0,
"type": "FCCard"
},
"cardno": "string",
"childCount": 0,
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"deviceId": "string",
"distributionEnabled": true,
"distributionProfitRatio": 0,
"distributorRankId": 0,
"ellipsisMobile": "string",
"email": "string",
"externalCustomerSn": "string",
"gender": "unknown",
"grade": 0,
"growthValue": "string",
"idCard": "string",
"invitationCode": "string",
"isAuth": true,
"isDistributor": true,
"isEnabled": true,
"isLocked": true,
"isMember": true,
"key": "string",
"lockedDate": "2019-08-24T14:15:22Z",
"loginDate": "2019-08-24T14:15:22Z",
"loginFailureCount": 0,
"loginIp": "string",
"mobile": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"nickname": "string",
"oauthId": 0,
"parentId": 0,
"parentInviteCode": "string",
"points": 0,
"qrcode": "string",
"rank": {
"background": "string",
"card": {
"activateWay": "obtain",
"background": "string",
"beginDate": "2019-08-24T14:15:22Z",
"benefits": [
{
"benefitCode": "string",
"benefitDisplayName": "string",
"benefitIcon": "string",
"benefitName": "string",
"benefitValue": "string"
}
],
"bgType": "custom",
"cardnoMode": "mobile",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"days": 0,
"description": "string",
"endDate": "2019-08-24T14:15:22Z",
"instruction": "string",
"introduction": "string",
"isDefault": true,
"isEnabled": true,
"isSyncWx": true,
"key": "string",
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"obtainType": "direct",
"points": 0,
"prefix": "string",
"price": 0,
"profiles": [
{
"attributeKey": "string",
"attributeName": "string",
"cardKey": "string",
"formItemType": "input",
"isRequired": true
}
],
"rankId": 0,
"rankKey": "string",
"remark": "string",
"stock": 0,
"termType": "forever",
"times": 0,
"tkey": "string",
"totalAmount": 0,
"totalPoints": 0,
"type": "FCCard"
},
"cardId": 0,
"cardName": "string",
"createDate": "2019-08-24T14:15:22Z",
"createStr": "string",
"isBinded": true,
"isDefault": true,
"isSpecial": true,
"isSystem": true,
"key": "string",
"maxGrowthValue": 0,
"minGrowthValue": 0,
"modifyDate": "2019-08-24T14:15:22Z",
"name": "string",
"scale": 0,
"tkey": "string"
},
"rankId": 0,
"registerIp": "string",
"registrationId": "string",
"remark": "string",
"sessionKey": "string",
"source": "string",
"tkey": "string",
"tokenExpired": "2019-08-24T14:15:22Z",
"treePath": "string",
"wxMpOpenId": "string"
},
"userId": 0,
"userKey": "string",
"userParentId": 0
},
"msg": "string",
"success": true,
"totalCount": 0
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2023-06-19 03:50:23