PUT api/MKTH/Order/UpdateOrderHeaderPI/{ord_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ord_id | integer |
Required |
Body Parameters
m_header_order| Name | Description | Type | Additional information |
|---|---|---|---|
| cust_id | integer |
Required |
|
| tax_id | integer |
None. |
|
| consignee_id | integer |
Required |
|
| transport_id | integer |
None. |
|
| transport_type | string |
None. |
|
| check_bill | boolean |
Required |
|
| check_vat | boolean |
Required |
|
| vat_thinking | string |
None. |
|
| check_gp | boolean |
None. |
|
| discount_bill | decimal number |
None. |
|
| gp | decimal number |
None. |
|
| special_discount | decimal number |
None. |
|
| check_special_discount | boolean |
None. |
|
| transport_amount | decimal number |
None. |
|
| reference_number | string |
None. |
|
| load_date | date |
None. |
|
| term_of_payment | string |
None. |
|
| receive_order | string |
None. |
|
| pay_name | string |
None. |
|
| pay_id | integer |
None. |
|
| credit | string |
None. |
|
| vender | string |
None. |
|
| barcode | string |
None. |
|
| drop_point | string |
None. |
|
| barcode_group_id | integer |
None. |
|
| barcode_group_name | string |
None. |
|
| check_thirdParty | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"cust_id": 1,
"tax_id": 2,
"consignee_id": 3,
"transport_id": 4,
"transport_type": "sample string 5",
"check_bill": true,
"check_vat": true,
"vat_thinking": "sample string 8",
"check_gp": true,
"discount_bill": 1.0,
"gp": 1.0,
"special_discount": 1.0,
"check_special_discount": true,
"transport_amount": 1.0,
"reference_number": "sample string 11",
"load_date": "2026-04-07T18:04:21.8703834+07:00",
"term_of_payment": "sample string 12",
"receive_order": "sample string 13",
"pay_name": "sample string 14",
"pay_id": 1,
"credit": "sample string 15",
"vender": "sample string 16",
"barcode": "sample string 17",
"drop_point": "sample string 18",
"barcode_group_id": 1,
"barcode_group_name": "sample string 19",
"check_thirdParty": true
}
application/xml, text/xml
Sample:
<m_header_order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.MKTH"> <barcode>sample string 17</barcode> <barcode_group_id>1</barcode_group_id> <barcode_group_name>sample string 19</barcode_group_name> <check_bill>true</check_bill> <check_gp>true</check_gp> <check_special_discount>true</check_special_discount> <check_thirdParty>true</check_thirdParty> <check_vat>true</check_vat> <consignee_id>3</consignee_id> <credit>sample string 15</credit> <cust_id>1</cust_id> <discount_bill>1</discount_bill> <drop_point>sample string 18</drop_point> <gp>1</gp> <load_date>2026-04-07T18:04:21.8703834+07:00</load_date> <pay_id>1</pay_id> <pay_name>sample string 14</pay_name> <receive_order>sample string 13</receive_order> <reference_number>sample string 11</reference_number> <special_discount>1</special_discount> <tax_id>2</tax_id> <term_of_payment>sample string 12</term_of_payment> <transport_amount>1</transport_amount> <transport_id>4</transport_id> <transport_type>sample string 5</transport_type> <vat_thinking>sample string 8</vat_thinking> <vender>sample string 16</vender> </m_header_order>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.