订单详情
开发中
GET
/staffapi/order/detail
请求参数
Query 参数
id
integer
订单ID
Header 参数
token
string
必需
默认值:
217ba8ac94c48c81403500017f8c13fc
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/staffapi/order/detail?id' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
订单ID
sn
string
订单编号
user_id
integer
用户ID
staff_id
integer
师傅ID
order_terminal
integer
必需
order_status
integer
必需
order_sub_status
integer
必需
pay_status
integer
必需
pay_way
integer
必需
goods_price
string
订单服务总价
difference_price
string
补差价
additional_price
string
加项价
order_amount
string
订单实付价格
total_amount
string
订单总价
total_num
integer
订单服务数量
earnings_ratio
string
佣金比例
user_remark
string
用户备注
order_remarks
null
订单备注
contact
string
联系人
mobile
string
联系电话
address_info
object
地址信息
refund_status
integer
必需
settlement_status
integer
必需
settlement_amount
string
结算金额
create_time
string
下单时间
pay_time
string
支付时间
cancel_time
null
取消时间
appoint_time_start
integer
预约服务开始时间
appoint_time_end
integer
预约服务结束时间
finish_time
string
实际完成时间
order_goods
array [object {8}]
订单服务信息
order_additional
array[string]
订单加项信息
order_checkin
object
订单签到信息
appoint_time_day
string
预约时间
appoint_time_slot
string
预约时间
order_status_desc
string
订单状态描述
pay_way_desc
string
支付方式描述
refund_amount
integer
退款金额
total_refund_amount
integer
总退款金额
staff_order_btn
object
订单按钮控制
settlement_status_desc
string
结算状态描述
order_steps_index
integer
订单步骤索 引
order_steps_desc
string
订单步骤描述
distance
string
距离
示例
{
"code": 0,
"show": 0,
"msg": "string",
"data": {
"id": 0,
"sn": "string",
"user_id": 0,
"staff_id": 0,
"order_terminal": 0,
"order_status": 0,
"order_sub_status": 0,
"pay_status": 0,
"pay_way": 0,
"goods_price": "string",
"difference_price": "string",
"additional_price": "string",
"order_amount": "string",
"total_amount": "string",
"total_num": 0,
"earnings_ratio": "string",
"user_remark": "string",
"order_remarks": null,
"contact": "string",
"mobile": "string",
"address_info": {
"province_id": 0,
"city_id": 0,
"district_id": 0,
"address": "string",
"sex": 0,
"longitude": "string",
"latitude": "string",
"province": "string",
"city": "string",
"district": "string",
"sex_desc": "string"
},
"refund_status": 0,
"settlement_status": 0,
"settlement_amount": "string",
"create_time": "string",
"pay_time": "string",
"cancel_time": null,
"appoint_time_start": 0,
"appoint_time_end": 0,
"finish_time": "string",
"order_goods": [
{
"id": 0,
"order_id": 0,
"goods_id": 0,
"goods_name": "string",
"goods_price": "string",
"goods_num": 0,
"goods_image": "string",
"goods_sku_arr": [
"string"
]
}
],
"order_additional": [
"string"
],
"order_checkin": {
"2024年11月07日": [
{
"order_id": 0,
"image_info": [
"string"
],
"order_status": 0,
"order_sub_status": 0,
"address_info": {
"province_id": "string",
"city_id": "string",
"district_id": "string",
"address": "string",
"longitude": 0,
"latitude": 0,
"province": "string",
"city": "string",
"district": "string"
},
"create_time": "string",
"order_status_desc": "string",
"time_desc": "string"
}
]
},
"appoint_time_day": "string",
"appoint_time_slot": "string",
"order_status_desc": "string",
"pay_way_desc": "string",
"refund_amount": 0,
"total_refund_amount": 0,
"staff_order_btn": {
"grab_btn": 0,
"receive_btn": 0,
"setout_btn": 0,
"arrive_btn": 0,
"start_btn": 0,
"finish_btn": 0
},
"settlement_status_desc": "string",
"order_steps_index": 0,
"order_steps_desc": "string",
"distance": "string"
}
}
修改于 2024-11-07 06:32:11