新版「开放接口」现已发布,新增消息事件推送功能,更新人人商城至V5.32.0体验!
curl --location --request GET '/order/detail/index?order_id=1&verify_code=12345678'
{
"error": 0,
"detail": {
"id": "28456",
"order_type": "10",
"activity_type": "0",
"order_no": "1010250707135025017756",
"trade_no": "TR10250707135027221237",
"out_trade_no": "-1",
"order_serial_no": "0",
"member_id": "332",
"status": "10",
"close_type": "0",
"original_price": "1110.00",
"pay_type": "2",
"pay_price": "1110.00",
"goods_price": "1111.00",
"original_goods_price": "1111.00",
"goods_info": [
{
"title": "实体",
"short_title": "",
"sub_title": "",
"option_title": "22+55",
"thumb": "image/25/2024/07/b95c729fdac22e78a3aba46e5fabc2fa.jpg",
"option_thumb": null,
"goods_code": "",
"bar_code": "0",
"unit": "件",
"type": "0",
"goods_id": "8523",
"stock": "999999947",
"option_id": "19287",
"total": "1",
"price": 1110,
"price_unit": "1111.00",
"price_original": 1110,
"price_discount": 1,
"form_esign_data": [],
"exchange_goods_total": 0
}
],
"address_province": "山东省",
"address_city": "青岛市",
"address_area": "市北区",
"address_code": "370203",
"address_detail": "万达",
"address_info": "{\"dispatch_type\":10,\"address_id\":\"155\",\"province\":\"山东省\",\"city\":\"青岛市\",\"area\":\"市北区\",\"area_code\":\"370203\",\"address_detail\":\"万达\",\"lng\":\"120.352561\",\"lat\":\"36.083358\",\"name\":\"张三\",\"postcode\":0}",
"agent_id": "0",
"create_time": "2025-07-07 13:50:25",
"pay_time": "2025-07-07 13:50:27",
"send_time": "0000-00-00 00:00:00",
"finish_time": "0000-00-00 00:00:00",
"cancel_time": "0000-00-00 00:00:00",
"cancel_reason": "",
"buyer_name": "张三",
"buyer_mobile": "17000000000",
"refund_type": "0",
"is_refund": "0",
"buyer_remark": "",
"user_delete": "0",
"member_nickname": "昵称123",
"member_realname": "",
"member_mobile": "17051222986",
"change_price": "0.00",
"change_price_count": "0",
"dispatch_info": "[null]",
"dispatch_type": "10",
"dispatch_price": "0.00",
"change_dispatch": "0.00",
"original_dispatch_price": "0.00",
"create_from": "10",
"remark": "",
"cost_price": "0.00",
"auto_finish_time": "0000-00-00 00:00:00",
"auto_close_time": "2025-07-07 14:10:25",
"extra_discount_rules_package": [
{
"coupon": {
"id": "17918",
"coupon_id": "148",
"coupon_sale_type": "1",
"title": "活动券123123",
"enough": "11.00",
"discount_price": "1.00",
"end_time": "2025-08-03 10:13:00",
"goods_limit": "0",
"coupon_sale_limit": "0",
"use_online": "1",
"use_offline": "0",
"used_type": "1",
"verify_code_id": "0",
"map": [],
"can_deduct_price": "1.00",
"can_use_order_price": "1111.00",
"show_end_time": "2025-08-03",
"is_default": 1
}
}
],
"extra_price_package": {
"coupon": 1
},
"extra_package": {
"delivery_time": "",
"article_id": 0,
"inviter_id": "0",
"is_prescription": false,
"medication_id": 0,
"member_day": {
"content": {
"type": [
"1",
"2"
],
"coupon_ids": [
"201",
"148",
"80"
],
"credit": "3",
"balance": "",
"credit_scale": "",
"discount": "",
"coupon_count_map": {
"80": "7",
"148": "20",
"201": "1"
},
"member_day_id": "23"
},
"has_free_dispatch": 0,
"credit_scale": 0,
"discount": 0
},
"intracity_setting": []
},
"invoice_info": [],
"extra_pay_price": "",
"offline_pay_package": null,
"refund_price": "0.00",
"scene": "0",
"scene_value": "0",
"custom_order_remark": "",
"seller_remark": "",
"refund_reason": "",
"channel_refund_status": "0",
"is_ada_share": "0",
"update_time": "2025-07-07 13:50:27",
"is_shop_refund": "0",
"is_split": "0",
"background_pay_remark": "",
"member_change_address": "0",
"app_type": "1",
"pay_type_text": "余额支付",
"dispatch_type_text": "快递",
"status_text": "待发货",
"create_from_text": "H5",
"type_text": "普通订单",
"member_remark": "",
"has_pay": 1,
"form": {
"id": "517",
"content": "[{\"id\":\"singlelinetext\",\"type\":\"singlelinetext\",\"name\":\"单行文本\",\"params\":{\"title\":\"单行文本11\",\"value\":\"1111\",\"tip\":\"请输入\",\"explain\":\"\",\"required\":true},\"style\":{},\"data\":[],\"_sortId\":\"1640930506614_0.11133024527717561\"},{\"id\":\"multilinetext\",\"type\":\"multilinetext\",\"name\":\"多行文本\",\"params\":{\"title\":\"多行文本\",\"value\":\"2222\",\"tip\":\"请输入\",\"explain\":\"\",\"required\":false},\"style\":{},\"data\":[],\"_sortId\":\"1684392907178_0.5964143318394699\"}]",
"sub_shop_id": "0",
"form_id": "56",
"source": "1",
"md5": "d41d8cd98f00b204e9800998ecf8427e"
}
}
}
扫码加入 开放接口 微信交流群
在这里,获得 开放接口 使用上的任何帮助,快速上手让你的研测效率得到大幅提升