POST api/Line/GetLineMemberOrder
取得LINE會員訂單
Request Information
URI Parameters
None.
Body Parameters
GetLineMemberOrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| member_id | string |
None. |
|
| order_id | string |
None. |
|
| fromOtherPlatform | boolean |
None. |
|
| encrypted_key | string |
None. |
|
| data_string | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"member_id": "sample string 1",
"order_id": "sample string 2",
"fromOtherPlatform": true,
"encrypted_key": "sample string 4",
"data_string": "sample string 5"
}
application/xml, text/xml
Sample:
<GetLineMemberOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject"> <data_string>sample string 5</data_string> <encrypted_key>sample string 4</encrypted_key> <fromOtherPlatform>true</fromOtherPlatform> <member_id>sample string 1</member_id> <order_id>sample string 2</order_id> </GetLineMemberOrderRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetLineMemberOrderResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| order_date | date |
None. |
|
| contact_phone | string |
None. |
|
| order_name | string |
None. |
|
| product_amount | decimal number |
None. |
|
| price_disk_discount | integer |
None. |
|
| total_amount | integer |
None. |
|
| freight | integer |
None. |
|
| redpoint_amount | integer |
None. |
|
| adjustment_amount | decimal number |
None. |
|
| received_amount | integer |
None. |
|
| remark | string |
None. |
|
| sub_order | Collection of GetLineMemberOrderAPIDTO |
None. |
|
| instruction | string |
None. |
|
| error_code | integer |
None. |
|
| error_msg | string |
None. |
|
| logs | Collection of string |
None. |
|
| error_logs | Collection of Exception |
None. |
|
| data_string | string |
None. |
|
| dec_request | string |
None. |
|
| dec_response | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"order_date": "2026-07-16T17:23:15.4072738+08:00",
"contact_phone": "sample string 2",
"order_name": "sample string 3",
"product_amount": 4.0,
"price_disk_discount": 1,
"total_amount": 5,
"freight": 6,
"redpoint_amount": 7,
"adjustment_amount": 8.0,
"received_amount": 9,
"remark": "sample string 10",
"sub_order": [
{
"order_id": "sample string 1",
"pick_up_store_name": "sample string 2",
"shipment_date": "2026-07-16T17:23:15.4092678+08:00",
"received_amount": 3,
"shipping_cost": 4,
"shipping_method": "sample string 5",
"shipping_method_name": "sample string 6",
"deliveryTemperature": "sample string 7",
"deliveryTemperature_name": "sample string 8",
"shipping_url": "sample string 9",
"order_status": "sample string 10",
"order_status_name": "sample string 11",
"recipient_name": "sample string 12",
"recipient_phone": "sample string 13",
"recipient_address": "sample string 14",
"recipient_remark": "sample string 15",
"recipient_remark2": "sample string 16",
"recipient_remark3": "sample string 17",
"discount_redpoint": 18,
"product": [
{
"product_type": "sample string 1",
"product_type_name": "sample string 2",
"product_id": "sample string 3",
"product_name": "sample string 4",
"price": 5.0,
"quantity": 6,
"amount": 7,
"price_disk_type": "sample string 8",
"combinatiogiftdetail_content": "sample string 9"
},
{
"product_type": "sample string 1",
"product_type_name": "sample string 2",
"product_id": "sample string 3",
"product_name": "sample string 4",
"price": 5.0,
"quantity": 6,
"amount": 7,
"price_disk_type": "sample string 8",
"combinatiogiftdetail_content": "sample string 9"
}
]
},
{
"order_id": "sample string 1",
"pick_up_store_name": "sample string 2",
"shipment_date": "2026-07-16T17:23:15.4092678+08:00",
"received_amount": 3,
"shipping_cost": 4,
"shipping_method": "sample string 5",
"shipping_method_name": "sample string 6",
"deliveryTemperature": "sample string 7",
"deliveryTemperature_name": "sample string 8",
"shipping_url": "sample string 9",
"order_status": "sample string 10",
"order_status_name": "sample string 11",
"recipient_name": "sample string 12",
"recipient_phone": "sample string 13",
"recipient_address": "sample string 14",
"recipient_remark": "sample string 15",
"recipient_remark2": "sample string 16",
"recipient_remark3": "sample string 17",
"discount_redpoint": 18,
"product": [
{
"product_type": "sample string 1",
"product_type_name": "sample string 2",
"product_id": "sample string 3",
"product_name": "sample string 4",
"price": 5.0,
"quantity": 6,
"amount": 7,
"price_disk_type": "sample string 8",
"combinatiogiftdetail_content": "sample string 9"
},
{
"product_type": "sample string 1",
"product_type_name": "sample string 2",
"product_id": "sample string 3",
"product_name": "sample string 4",
"price": 5.0,
"quantity": 6,
"amount": 7,
"price_disk_type": "sample string 8",
"combinatiogiftdetail_content": "sample string 9"
}
]
}
],
"instruction": "sample string 11",
"error_code": 12,
"error_msg": "sample string 13",
"logs": [
"sample string 1",
"sample string 2"
],
"error_logs": [
{
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
{
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
],
"data_string": "sample string 14",
"dec_request": "sample string 15",
"dec_response": "sample string 16"
}
application/xml, text/xml
Sample:
<GetLineMemberOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject">
<data_string>sample string 14</data_string>
<dec_request>sample string 15</dec_request>
<dec_response>sample string 16</dec_response>
<error_code>12</error_code>
<error_logs xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:Exception>
<ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
<Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</d2p1:Exception>
<d2p1:Exception>
<ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
<Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</d2p1:Exception>
</error_logs>
<error_msg>sample string 13</error_msg>
<logs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</logs>
<adjustment_amount>8</adjustment_amount>
<contact_phone>sample string 2</contact_phone>
<freight>6</freight>
<instruction>sample string 11</instruction>
<order_date>2026-07-16T17:23:15.4072738+08:00</order_date>
<order_name>sample string 3</order_name>
<price_disk_discount>1</price_disk_discount>
<product_amount>4</product_amount>
<received_amount>9</received_amount>
<redpoint_amount>7</redpoint_amount>
<remark>sample string 10</remark>
<sub_order>
<GetLineMemberOrderAPIDTO>
<deliveryTemperature>sample string 7</deliveryTemperature>
<deliveryTemperature_name>sample string 8</deliveryTemperature_name>
<discount_redpoint>18</discount_redpoint>
<order_id>sample string 1</order_id>
<order_status>sample string 10</order_status>
<order_status_name>sample string 11</order_status_name>
<pick_up_store_name>sample string 2</pick_up_store_name>
<product>
<GetLineMemberOrderProductAPIDTO>
<amount>7</amount>
<combinatiogiftdetail_content>sample string 9</combinatiogiftdetail_content>
<price>5</price>
<price_disk_type>sample string 8</price_disk_type>
<product_id>sample string 3</product_id>
<product_name>sample string 4</product_name>
<product_type>sample string 1</product_type>
<product_type_name>sample string 2</product_type_name>
<quantity>6</quantity>
</GetLineMemberOrderProductAPIDTO>
<GetLineMemberOrderProductAPIDTO>
<amount>7</amount>
<combinatiogiftdetail_content>sample string 9</combinatiogiftdetail_content>
<price>5</price>
<price_disk_type>sample string 8</price_disk_type>
<product_id>sample string 3</product_id>
<product_name>sample string 4</product_name>
<product_type>sample string 1</product_type>
<product_type_name>sample string 2</product_type_name>
<quantity>6</quantity>
</GetLineMemberOrderProductAPIDTO>
</product>
<received_amount>3</received_amount>
<recipient_address>sample string 14</recipient_address>
<recipient_name>sample string 12</recipient_name>
<recipient_phone>sample string 13</recipient_phone>
<recipient_remark>sample string 15</recipient_remark>
<recipient_remark2>sample string 16</recipient_remark2>
<recipient_remark3>sample string 17</recipient_remark3>
<shipment_date>2026-07-16T17:23:15.4092678+08:00</shipment_date>
<shipping_cost>4</shipping_cost>
<shipping_method>sample string 5</shipping_method>
<shipping_method_name>sample string 6</shipping_method_name>
<shipping_url>sample string 9</shipping_url>
</GetLineMemberOrderAPIDTO>
<GetLineMemberOrderAPIDTO>
<deliveryTemperature>sample string 7</deliveryTemperature>
<deliveryTemperature_name>sample string 8</deliveryTemperature_name>
<discount_redpoint>18</discount_redpoint>
<order_id>sample string 1</order_id>
<order_status>sample string 10</order_status>
<order_status_name>sample string 11</order_status_name>
<pick_up_store_name>sample string 2</pick_up_store_name>
<product>
<GetLineMemberOrderProductAPIDTO>
<amount>7</amount>
<combinatiogiftdetail_content>sample string 9</combinatiogiftdetail_content>
<price>5</price>
<price_disk_type>sample string 8</price_disk_type>
<product_id>sample string 3</product_id>
<product_name>sample string 4</product_name>
<product_type>sample string 1</product_type>
<product_type_name>sample string 2</product_type_name>
<quantity>6</quantity>
</GetLineMemberOrderProductAPIDTO>
<GetLineMemberOrderProductAPIDTO>
<amount>7</amount>
<combinatiogiftdetail_content>sample string 9</combinatiogiftdetail_content>
<price>5</price>
<price_disk_type>sample string 8</price_disk_type>
<product_id>sample string 3</product_id>
<product_name>sample string 4</product_name>
<product_type>sample string 1</product_type>
<product_type_name>sample string 2</product_type_name>
<quantity>6</quantity>
</GetLineMemberOrderProductAPIDTO>
</product>
<received_amount>3</received_amount>
<recipient_address>sample string 14</recipient_address>
<recipient_name>sample string 12</recipient_name>
<recipient_phone>sample string 13</recipient_phone>
<recipient_remark>sample string 15</recipient_remark>
<recipient_remark2>sample string 16</recipient_remark2>
<recipient_remark3>sample string 17</recipient_remark3>
<shipment_date>2026-07-16T17:23:15.4092678+08:00</shipment_date>
<shipping_cost>4</shipping_cost>
<shipping_method>sample string 5</shipping_method>
<shipping_method_name>sample string 6</shipping_method_name>
<shipping_url>sample string 9</shipping_url>
</GetLineMemberOrderAPIDTO>
</sub_order>
<total_amount>5</total_amount>
</GetLineMemberOrderResponse>