文档
测试

获取订单详情页

POST
http://127.0.0.1/laravel/public/api/order/getOrderDetail

接口描述

根据order_id 获取订单详情页

请求参数

参数名
类型
描述
必填
order_id
int
订单id
必填

说明 / 示例

{ "code": 200, "message": "success", "data": { "order_number": "600000010", "customer_id": 0, "email": "123456@qq.com", "total_price": 480, "total_price_now": 480, "address": { "id": 8, "order_id": 10, "first_name": "aswdea", "last_name": "wqewqew", "street": "ewqewqe", "city": "wewq", "province": "", "country": "AU", "post_code": "wqewqe", "telephone": "12345" }, "products": [ { "id": 10, "order_id": 10, "together_text_id": 0, "product_id": 2, "product_name": "19 Momme Terse Envelope Silk Pillowcase", "product_image": "", "sku": "1008", "price": 42, "price_now": 42, "number": 4, "attributes": [ { "name": "color", "value": "Light Plum" }, { "name": "size", "value": "Standard(50 x 75cm)" } ] }, { "id": 11, "order_id": 10, "together_text_id": 0, "product_id": 4, "product_name": "22 Momme Terse Envelope Silk Pillowcase", "product_image": "", "sku": "1016", "price": 70, "price_now": 70, "number": 4, "attributes": [ { "name": "color", "value": "Ocean Blue" }, { "name": "size", "value": "Standard(50 x 75cm)" } ] }, { "id": 12, "order_id": 10, "together_text_id": 0, "product_id": 344, "product_name": "Silk Sleep Eye Mask With Wide Elastic Band", "product_image": "", "sku": "3117", "price": 32, "price_now": 32, "number": 1, "attributes": [ { "name": "color", "value": "Black" } ] } ] } }