Authorization: Bearer ********************{
"OrderHeaderModel": {
"documentDate": "2026/01/21",
"documentNumber": "2206131409298141074",
"documentDesc": "Test order",
"restaurantId": "004",
"deliveryManId": "011",
"taxCustomerType": "1",
"taxCustomerId": "",
"taxCustomerName": "",
"totalPayAmount": 65000,
"comment": "",
"orderNote": "",
"additionalNote": "",
"shippingName": "",
"shippingPhone": "95856014",
"shippingDateTime": "",
"orderStatus": "N",
"orderType": "T"
},
"OrderLineModel": [
{
"itemId": "2005",
"barcode": "",
"itemName": "Eden 750ml",
"qty": 1,
"basePrice": 20000,
"price": 65000,
"payAmount": 65000
}
]
}curl --location --request POST '/api/order/order' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"OrderHeaderModel": {
"documentDate": "2026/01/21",
"documentNumber": "2206131409298141074",
"documentDesc": "Test order",
"restaurantId": "004",
"deliveryManId": "011",
"taxCustomerType": "1",
"taxCustomerId": "",
"taxCustomerName": "",
"totalPayAmount": 65000,
"comment": "",
"orderNote": "",
"additionalNote": "",
"shippingName": "",
"shippingPhone": "95856014",
"shippingDateTime": "",
"orderStatus": "N",
"orderType": "T"
},
"OrderLineModel": [
{
"itemId": "2005",
"barcode": "",
"itemName": "Eden 750ml",
"qty": 1,
"basePrice": 20000,
"price": 65000,
"payAmount": 65000
}
]
}'{
"Success": true,
"Message": null,
"ErrorCode": null,
"ExceptionType": null,
"Data": {
"DocumentPkId": 2406111233128438000,
"TaxBillNo": "",
"TaxBillDate": null
}
}