简要描述:
- 蛋糕叔叔-订单详情
GET:/route=plugin.yz-supply-cake.frontend.order.detail&order_id=231150
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"id": 231150,
"order_sn": "SN2211151007A6EAED",
"price": "796.00",
"goods_price": "796.00",
"goods_total": 2,
"status": 0,
"create_time": "2022-11-15 10:07:38",
"finish_time": "1970-01-01 08:00:00",
"pay_time": "1970-01-01 08:00:00",
"send_time": "1970-01-01 08:00:00",
"cancel_pay_time": "1970-01-01 08:00:00",
"cancel_send_time": "1970-01-01 08:00:00",
"dispatch_type_id": 1,
"dispatch_price": "0.00",
"discount_price": "0.00",
"pay_type_id": 0,
"order_goods_price": "796.00",
"deduction_price": "0.00",
"refund_id": 0,
"is_plugin": 0,
"change_price": "0.00",
"change_dispatch_price": "0.00",
"comment_status": 0,
"order_pay_id": "",
"is_virtual": 0,
"plugin_id": 157,
"mark": "0",
"is_pending": 0,
"note": null,
"cost_amount": "796.00",
"shop_name": "曹鹏本地",
"no_refund": 0,
"need_address": 0,
"invoice_type": 0,
"rise_type": 1,
"collect_name": "",
"company_number": "0",
"invoice": null,
"auto_receipt": 0,
"fee_amount": "0.00",
"service_fee_amount": "0.00",
"is_all_send_goods": 0,
"close_reason": null,
"camilo_resources_coupon_type": 1,
"camilo_resources_recharge_number": null,
"vip_order_goods_price": "796.00",
"initial_freight": "0.00",
"tax_fee": "0.00",
"dispatch_type_name": "快递",
"status_name": "待付款",
"pay_type_name": "未支付",
"button_models": [
{
"name": "支付",
"value": 1,
"api": "order.operation.pay",
"type": ""
},
{
"name": "取消订单",
"value": 9,
"api": "order.operation.close",
"type": ""
}
],
"process": [],
"has_one_pay_type": {
"id": 0,
"name": "未支付",
"plugin_id": 0,
"code": "unPay",
"type": 0,
"unit": "",
"updated_at": "2017-09-19 09:48:07",
"created_at": null,
"deleted_at": null,
"setting_key": "",
"need_password": 0,
"group_id": 0
},
"yz_supply_cake_order": {
"id": 3,
"order_id": 231150,
"order_sn": "SN2211151007A6EAED",
"member_id": 637008,
"status": 0,
"addressId": 1531945,
"distribution_rule_id": 3783,
"ship_type": "delivery",
"ship_date": "2022-11-16",
"ship_time_text": "10:00-12:00",
"shop_id": null,
"shop_name": null,
"shop_detail": null,
"created_at": "2022-11-15 10:07:38",
"updated_at": "2022-11-15 10:07:38",
"deleted_at": null,
"city_id": 2
},
"has_many_order_goods": [
{
"id": 231484,
"uniacid": 5,
"goods_id": 5042,
"pay_sn": "",
"total": 2,
"create_at": 0,
"price": "796.00",
"goods_sn": "",
"uid": 637008,
"thumb": "https://img.dangaoss.com/public/p/7/8/1348288_l.jpg",
"title": "粉色之恋L’amour en rose",
"goods_price": "796.00",
"goods_option_id": 6635,
"goods_option_title": "7寸",
"product_sn": "",
"created_at": "2022-11-15 10:07:38",
"updated_at": "2022-11-15 10:07:38",
"discount_price": "0.00",
"comment_status": 0,
"change_price": "0.00",
"comment_id": 0,
"goods_market_price": "796.00",
"goods_cost_price": "796.00",
"vip_price": "796.00",
"coupon_price": "0.00",
"payment_amount": "796.00",
"deduction_amount": "0.00",
"need_address": 0,
"order_express_id": null,
"is_refund": 0,
"refund_id": 0,
"points": "",
"refunded_total": 0,
"buttons": [],
"after_sales": {
"refund_id": 0,
"refund_type_name": "",
"refund_status_name": "已退款",
"refunded_total": 0
},
"has_one_comment": null,
"has_one_goods": {
"id": 5042,
"uniacid": 5,
"brand_id": 686,
"type": 1,
"status": 1,
"display_order": 0,
"title": "粉色之恋L’amour en rose",
"thumb": "https://img.dangaoss.com/public/p/7/8/1348288_l.jpg",
"thumb_url": "a:1:{i:0;s:51:\"https://img.dangaoss.com/public/p/7/8/1348288_m.jpg\";}",
"sku": "单位",
"goods_sn": "",
"product_sn": "",
"market_price": "43398.00",
"price": "43398.00",
"cost_price": "43398.00",
"stock": 999999999,
"reduce_stock_method": 0,
"show_sales": 4,
"real_sales": 4,
"weight": "0.00",
"has_option": 1,
"is_new": 0,
"is_hot": 0,
"is_discount": 0,
"is_recommand": 0,
"is_comment": 0,
"is_deleted": 0,
"created_at": "2022-11-11 15:47:38",
"deleted_at": null,
"updated_at": "2022-11-15 10:08:04",
"comment_num": 0,
"is_plugin": 0,
"plugin_id": 157,
"virtual_sales": 0,
"no_refund": 0,
"need_address": 0,
"type2": 1,
"old_id": null,
"volume": null,
"alias": "",
"is_hide": 1,
"min_price": "398.00",
"max_price": "398.00",
"hide_goods_sales": 0,
"hide_goods_sales_alone": 0,
"vip_price": "43398.00",
"next_level_price": "43398.00",
"has_many_options": [
{
"id": 6635,
"uniacid": 5,
"goods_id": 5042,
"title": "7寸",
"thumb": null,
"product_price": "398.00",
"market_price": "398.00",
"cost_price": "398.00",
"stock": 99989,
"weight": "0.00",
"display_order": 0,
"specs": "9809",
"skuId": "",
"goods_sn": "",
"product_sn": "",
"virtual": 0,
"red_price": "",
"volume": null
}
],
"has_many_goods_discount": []
},
"order": {
"id": 231150,
"uniacid": 5,
"uid": 637008,
"order_sn": "SN2211151007A6EAED",
"price": "796.00",
"goods_price": "796.00",
"goods_total": 2,
"status": 0,
"create_time": "2022-11-15 10:07:38",
"is_deleted": 0,
"is_member_deleted": 0,
"finish_time": "1970-01-01 08:00:00",
"pay_time": "1970-01-01 08:00:00",
"send_time": "1970-01-01 08:00:00",
"cancel_time": "1970-01-01 08:00:00",
"created_at": 1668478058,
"updated_at": 1668478058,
"deleted_at": 0,
"cancel_pay_time": "1970-01-01 08:00:00",
"cancel_send_time": "1970-01-01 08:00:00",
"dispatch_type_id": 1,
"dispatch_price": "0.00",
"discount_price": "0.00",
"pay_type_id": 0,
"order_goods_price": "796.00",
"deduction_price": "0.00",
"refund_id": 0,
"is_plugin": 0,
"change_price": "0.00",
"change_dispatch_price": "0.00",
"comment_status": 0,
"order_pay_id": "",
"is_virtual": 0,
"plugin_id": 157,
"mark": "0",
"is_pending": 0,
"note": null,
"cost_amount": "796.00",
"shop_name": "曹鹏本地",
"no_refund": 0,
"need_address": 0,
"invoice_type": 0,
"rise_type": 0,
"collect_name": "",
"company_number": "",
"invoice": null,
"auto_receipt": 0,
"fee_amount": "0.00",
"service_fee_amount": "0.00",
"is_all_send_goods": 0,
"close_reason": null,
"camilo_resources_coupon_type": 1,
"camilo_resources_recharge_number": null,
"vip_order_goods_price": "796.00",
"initial_freight": "0.00",
"tax_fee": "0.00",
"status_name": "待付款",
"pay_type_name": "未支付",
"process": [],
"has_one_pay_type": {
"id": 0,
"name": "未支付",
"plugin_id": 0,
"code": "unPay",
"type": 0,
"unit": "",
"updated_at": "2017-09-19 09:48:07",
"created_at": null,
"deleted_at": null,
"setting_key": "",
"need_password": 0,
"group_id": 0
}
},
"is_course": 0
}
],
"order_deduction": [],
"order_discount": [],
"order_fees": [],
"order_service_fees": [],
"order_coupon": [],
"order_invoice": {
"id": 181,
"uid": 637008,
"uniacid": 5,
"order_id": 231150,
"invoice_type": 0,
"rise_type": 1,
"collect_name": "",
"company_number": "0",
"invoice": "0",
"email": "",
"need_invoice": 0,
"updated_at": "2022-11-15 10:07:38",
"created_at": "2022-11-15 10:07:38",
"deleted_at": null,
"enterprise_id": "321",
"invoice_sn": "32136im812tm",
"equipment_number": "213",
"bill_type": 0,
"special_type": 0,
"collection": 0,
"list_identification": 0,
"xsf_name": "321",
"xsf_taxpayer": "3213",
"xsf_address": "21321",
"xsf_mobile": "312",
"xsf_bank_admin": "312",
"gmf_taxpayer": "",
"gmf_address": "",
"gmf_bank": "",
"gmf_bank_admin": "",
"gmf_mobile": "",
"content": "",
"drawer": "312321",
"payee": "321",
"reviewer": "321",
"remarks": "",
"notice_no": "",
"applicant": "",
"is_audit": 0,
"detail_param": "",
"tax_rate": 0,
"zero_tax_rate": 0,
"invoice_no": "",
"invoice_nature": 0,
"status": 0,
"invoice_time": 1668478057,
"invoice_image": "",
"apply": 0,
"col_address": "",
"col_name": "",
"col_mobile": ""
},
"order_address": {
"address": "黑龙江省 哈尔滨市 道里区 321321321",
"mobile": "18249104358",
"realname": "3213",
"updated_at": "2022-11-15 10:07:38",
"created_at": "2022-11-15 10:07:38",
"province_id": 230000,
"city_id": 230100,
"district_id": 230102,
"note": null,
"street_id": 0,
"zipcode": "",
"longitude": "",
"latitude": "",
"delivery_day": null,
"delivery_time": null
},
"email": "",
"invoice_state": 0,
"address_info": {
"address": "黑龙江省 哈尔滨市 道里区 321321321",
"mobile": "18249104358",
"realname": "3213"
},
"receipt_goods_notice": ""
}
}
yz_supply_cake_order 其他参数与正常订单列表一致 :
参数名 | 类型 | 说明 |
---|---|---|
ship_type | string | 配送类型:delivery-商家配送(可选择配送时间),shop-门店自提(可选择配送时间),same-快递(配送规则接口没返回可选配送时间,正常上架状态的商品) |
ship_date | string | 配送日期 选择配送规则API返回的结果 |
ship_time_text | string | 配送时间 ,如果没有ship_time_text,请填写配规接口返回的delivery_text的值 |
shop_id | string | 自提门店id 自提的时候必填--选择配送范围API返回结果 |
shop_name | string | 自提门店名称 自提的时候必填 |
shop_detail | string | 自提门店地址 自提的时候必填 |
buyer_phone | string | 下单人手机号 |