💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**简要描述:** - 订单详情 **请求URL:** - `/shopapi/order/detail` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | |:--|:--|:--|:--| | id | 是 | int | 订单id | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "id": 15, "sn": "202108271043302486", "pickup_code": "969453", "order_type": 0, "order_status": 3, "pay_status": 1, "pay_way": 1, "pay_time": "2021-07-08 16:03:13", "address": { "contact": "木子", "province": "", "city": "", "district": "", "address": "", "mobile": "17306643985" }, "delivery_type": 2, "goods_price": "2799.00", "order_amount": "2799.00", "discount_amount": "0.00", "integral_amount": "0.00", "change_price": null, "total_amount": "2799.00", "total_num": 2, "express_status": 0, "express_price": "0.00", "express_time": "——", "user_remark": "", "confirm_take_time": "——", "after_sale_deadline": null, "cancel_time": null, "order_remarks": "", "delivery_id": 0, "seckill_id": 0, "team_found_id": null, "is_team_success": null, "verification_status": 1, "selffetch_shop_id": 2, "create_time": "2021-08-27 10:43:30", "order_goods": [ { "order_id": 15, "goods_id": 24, "item_id": 67, "goods_name": "小米10青春版", "goods_price": "2399.00", "goods_num": 1, "goods_image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "spec_value_str": "8GB+256GB,冰峰黑提", "after_sale_btn": 0, "after_sale_id": 0 }, { "order_id": 15, "goods_id": 23, "item_id": 94, "goods_name": "哈比树儿童滑滑梯室内汽车滑梯家用玩具宝宝小型秋千组合游乐园", "goods_price": "400.00", "goods_num": 1, "goods_image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "spec_value_str": "8GB+256GB,冰峰黑提", "after_sale_btn": 0, "after_sale_id": 0 { "code": 1, "show": 0, "msg": "", "data": { "id": 15, "sn": "202108271043302486", "pickup_code": "969453", "order_type": 0, "order_status": 2, "pay_status": 1, "pay_way": 1, "pay_time": "2021-07-08 16:03:13", "address": { "contact": "木子", "province": null, "city": null, "district": null, "address": "", "mobile": "17306643985" }, "delivery_type": 2, "goods_price": "2799.00", "order_amount": "2799.00", "discount_amount": "0.00", "integral_amount": "0.00", "change_price": null, "total_amount": "2799.00", "total_num": 2, "express_status": 1, "express_price": "0.00", "express_time": "——", "user_remark": "用户留言", "confirm_take_time": "——", "after_sale_deadline": null, "cancel_time": 1631175918, "order_remarks": "商家留言14", "coupon_list_id": 0, "delivery_id": 0, "seckill_id": 0, "team_found_id": null, "is_team_success": null, "verification_status": 1, "selffetch_shop_id": 2, "create_time": "2021-08-27 10:43:30", "order_goods": [ { "id": 28, "order_id": 15, "goods_id": 24, "item_id": 67, "goods_name": "小米10青春版", "goods_price": "2399.00", "goods_num": 1, "goods_image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "spec_value_str": "8GB+256GB,冰峰黑提", "after_sale_btn": 0, "after_sale_id": 0 }, { "id": 29, "order_id": 15, "goods_id": 23, "item_id": 94, "goods_name": "哈比树儿童滑滑梯室内汽车滑梯家用玩具宝宝小型秋千组合游乐园", "goods_price": "400.00", "goods_num": 1, "goods_image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "spec_value_str": "二合一(蓝色)", "after_sale_btn": 0, "after_sale_id": 0 } ], "btn": { "pay_btn": 0, "cancel_btn": 0, "delivery_btn": 1, "confirm_btn": 1, "finish_btn": 0, "comment_btn": 0, "refund_btn": 0 }, "delivery_address": "", "cancel_unpaid_orders_time": "", "order_type_desc": "自提订单", "order_status_desc": "待收货", "selffetch_shop": { "id": 2, "name": "自提门店2", "business_start_time": "08:00:00", "business_end_time": "18:00:00", "detailed_address": "广东省广州市越秀区天上人间" } } } ``` **返回参数:** |参数名 |类型 |说明 | |:--|:--|:--| | id | int | 订单id | | sn | string | 订单编号 | | pickup_code | string | 提货码 | | order_type | int | 订单类型:0-普通订单;1-拼团订单;2-秒杀订单;3-砍价订单 | | order_type_desc | string | 订单类型 | | order_status | int | 订单状态;0-待付款;1-待发货;2-待收货;3-已完成;4-已关闭 | | order_status_desc | string | 订单状态 | | pay_status | int | 0-未支付;1-已支付;| | pay_way | int | 支付方式;1-余额支付;2-微信支付;3-支付宝支付 | | pay_time | string | 支付时间 | | cancel_unpaid_orders_time | string | 取消未支付订单时间 | | delivery_type | int | 配送方式| | goods_price | decimal | 商品总价 | | discount_amount | decimal | 优惠券优惠金额 | | order_amount | decimal | 订单应付金额 | | user_remark | string | 买家留言 | | express_price | decimal | 运费 | | is_team_success | int | 拼的团是否成功[0=未成功, 1=已成功, 2=已失败]| | verification_status | int | 核销状态:0-待核销;1-已核销; | | order_goods | array | 订单商品信息 | | ----goods_name | string | 商品名称 | | ----goods_price | decimal | 商品单价 | | ----goods_num | int | 商品数量 | | ----goods_image | string | 商品图片 | | ----spec_value_str | string | 商品规格值 | | ----after_sale_btn | int | 售后按钮:0-关闭;1-申请售后;2-售后中;3-售后成功;4-售后失败; | | ----after_sale_id | int | 售后id | | selffetch_shop | array | 自提门店信息 | | ----name | string | 门店名称 | | ----business_start_time | decimal |营业开始时间 | | ----business_end_time | int | 营业结束时间 | | ----detailed_address | string | 门店地址 | | btn | array | 按钮(1-显示;0-隐藏) | | ----pay_btn | int | 支付按钮 | | ----cancel_btn | int | 取消按钮 | | ----delivery_btn | int | 物流按钮 | | ----confirm_btn | int | 确认收货按钮 | | ----finish_btn | int | 完成按钮 | | ----comment_btn | int | 评论按钮 | | ----refund_btn | int | 申请退款按钮 |