- 在线客服
- 商家移动端
- 商城
- 说明
- 登录注册
- 首页相关
- 购物车
- 商品
- 店铺
- 会员
- 内容
- 用户地址
- 分销
- 订单
- 订单发票
- 营销
- 售后
- 商家
- 平台设置
- 文件上传
- 商家设置
- 充值
- 广告
- 微信
- 通知
- 短信
- 二维码
- 积分商城
- 种草社区
- 直播
- 用户注销
订单详情
开发中
GET
/api/order/getOrderDetail
请求参数
Query 参数
id
integer
订单id
示例值:
1
Header 参数
token
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 '/api/order/getOrderDetail?id=1' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
必需
trade_id
integer
必需
shop_id
integer
必需
order_sn
string
必需
pickup_code
string
提货码
order_type
string
必需
order_status
integer
必需
delivery_type
integer
必需
pay_way
string
必需
pay_time
string
必需
consignee
string
必需
mobile
string
必需
goods_price
string
必需
order_amount
string
必需
discount_amount
string
必需
total_amount
string
必需
total_num
integer
必需
shipping_price
string
必需
shipping_time
string
必需
user_remark
string
必需
confirm_take_time
string
必需
cancel_time
string
必需
refund_status
integer
必需
settle_id
integer
必需
settle_amount
null
必需
refund_amount
null
必需
platform_commission
null
必需
coupon_list_id
integer
必需
order_remarks
string
必需
is_comment
integer
必需
distribution_money
string
必需
is_cancel
integer
必需
member_amount
string
必需
award_integral_status
integer
必需
award_integral
integer
必需
is_award_integral
integer
必需
delivery_content
string
必需
verification_status
integer
核销状态 0-未核销 1-已核销
create_time
string
必需
update_time
string
必需
delete
integer
必需
show_pickup_code
integer
是否显示核销码 0-不显示 1-显示
shop_address
string
商家地址
order_goods
array [object {16}]
必需
shop
object
必需
delivery_address
string
必需
pay_btn
integer
必需
cancel_btn
integer
必需
delivery_btn
integer
必需
take_btn
integer
必需
del_btn
integer
必需
view_invoice_btn
integer
必需
save_invoice_btn
integer
必需
order_cancel_time
string
必需
示例
{
"code": 0,
"show": 0,
"msg": "string",
"data": {
"id": 0,
"trade_id": 0,
"shop_id": 0,
"order_sn": "string",
"pickup_code": "string",
"order_type": "string",
"order_status": 0,
"delivery_type": 0,
"pay_way": "string",
"pay_time": "string",
"consignee": "string",
"mobile": "string",
"goods_price": "string",
"order_amount": "string",
"discount_amount": "string",
"total_amount": "string",
"total_num": 0,
"shipping_price": "string",
"shipping_time": "string",
"user_remark": "string",
"confirm_take_time": "string",
"cancel_time": "string",
"refund_status": 0,
"settle_id": 0,
"settle_amount": null,
"refund_amount": null,
"platform_commission": null,
"coupon_list_id": 0,
"order_remarks": "string",
"is_comment": 0,
"distribution_money": "string",
"is_cancel": 0,
"member_amount": "string",
"award_integral_status": 0,
"award_integral": 0,
"is_award_integral": 0,
"delivery_content": "string",
"verification_status": 0,
"create_time": "string",
"update_time": "string",
"delete": 0,
"show_pickup_code": 0,
"shop_address": "string",
"order_goods": [
{
"id": 0,
"order_id": 0,
"goods_id": 0,
"item_id": 0,
"goods_name": "string",
"goods_price": "string",
"spec_value": "string",
"image": "string",
"goods_num": 0,
"is_comment": 0,
"refund_status": 0,
"commission_ratio": null,
"total_pay_price": "string",
"sum_price": 0,
"comment_btn": 0,
"refund_btn": 0
}
],
"shop": {
"id": 0,
"name": "string",
"type_desc": "string",
"logo": "string",
"mobile": "string",
"open_invoice": 0,
"spec_invoice": 0
},
"delivery_address": "string",
"pay_btn": 0,
"cancel_btn": 0,
"delivery_btn": 0,
"take_btn": 0,
"del_btn": 0,
"view_invoice_btn": 0,
"save_invoice_btn": 0,
"order_cancel_time": "string"
}
}
修改于 2022-11-02 10:53:52