POST api/Orders/UpdatePOSOrder
Request Information
URI Parameters
None.
Body Parameters
UpsertOrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| sales | BaseOrderModel |
None. |
|
| BaseObject | BaseOrderModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"sales": {
"DeliveryCharge": 1.0,
"BusinessId": 1,
"OrdersTypeId": 1,
"OrderNo": 1,
"OrdersActionId": 1,
"OrdersMessageId": 1,
"OrdersReasonId": 1,
"OrderNotes": "sample string 1",
"CustomerId": 1,
"CustomerName": "sample string 2",
"TableNo": 1,
"TotalPrice": 1.0,
"BusinessAddressId": 1,
"AddressLine1": "sample string 3",
"AddressLine2": "sample string 4",
"AddressLine3": "sample string 5",
"Town": "sample string 6",
"County": "sample string 7",
"Country": "sample string 8",
"PostCode": "sample string 9",
"PrintStatus": 1,
"DiscountTotal": 1.0,
"TGorderid": 10,
"Issyncorder": true,
"Points": 12,
"PointsEstimated": true,
"ServiceCharge": 1.0,
"TableName": "sample string 14",
"indexedDbOrderId": "sample string 15",
"OrderId": 1,
"PreOrderDate": "2026-03-20T14:27:36.0162385+00:00",
"ApplicationFee": 1.0,
"UserAgent": "sample string 16",
"IpAddress": "sample string 17",
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:27:36.0162385+00:00",
"LastUpdated": "2026-03-20T14:27:36.0162385+00:00",
"Id": 1
},
"BaseObject": {
"DeliveryCharge": 1.0,
"BusinessId": 1,
"OrdersTypeId": 1,
"OrderNo": 1,
"OrdersActionId": 1,
"OrdersMessageId": 1,
"OrdersReasonId": 1,
"OrderNotes": "sample string 1",
"CustomerId": 1,
"CustomerName": "sample string 2",
"TableNo": 1,
"TotalPrice": 1.0,
"BusinessAddressId": 1,
"AddressLine1": "sample string 3",
"AddressLine2": "sample string 4",
"AddressLine3": "sample string 5",
"Town": "sample string 6",
"County": "sample string 7",
"Country": "sample string 8",
"PostCode": "sample string 9",
"PrintStatus": 1,
"DiscountTotal": 1.0,
"TGorderid": 10,
"Issyncorder": true,
"Points": 12,
"PointsEstimated": true,
"ServiceCharge": 1.0,
"TableName": "sample string 14",
"indexedDbOrderId": "sample string 15",
"OrderId": 1,
"PreOrderDate": "2026-03-20T14:27:36.0162385+00:00",
"ApplicationFee": 1.0,
"UserAgent": "sample string 16",
"IpAddress": "sample string 17",
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:27:36.0162385+00:00",
"LastUpdated": "2026-03-20T14:27:36.0162385+00:00",
"Id": 1
}
}
application/xml, text/xml
Sample:
<UpsertOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<BaseObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:27:36.0162385+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:27:36.0162385+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:AddressLine1>sample string 3</d2p1:AddressLine1>
<d2p1:AddressLine2>sample string 4</d2p1:AddressLine2>
<d2p1:AddressLine3>sample string 5</d2p1:AddressLine3>
<d2p1:ApplicationFee>1</d2p1:ApplicationFee>
<d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
<d2p1:BusinessId>1</d2p1:BusinessId>
<d2p1:Country>sample string 8</d2p1:Country>
<d2p1:County>sample string 7</d2p1:County>
<d2p1:CustomerId>1</d2p1:CustomerId>
<d2p1:CustomerName>sample string 2</d2p1:CustomerName>
<d2p1:DeliveryCharge>1</d2p1:DeliveryCharge>
<d2p1:DiscountTotal>1</d2p1:DiscountTotal>
<d2p1:IpAddress>sample string 17</d2p1:IpAddress>
<d2p1:Issyncorder>true</d2p1:Issyncorder>
<d2p1:OrderId>1</d2p1:OrderId>
<d2p1:OrderNo>1</d2p1:OrderNo>
<d2p1:OrderNotes>sample string 1</d2p1:OrderNotes>
<d2p1:OrdersActionId>1</d2p1:OrdersActionId>
<d2p1:OrdersMessageId>1</d2p1:OrdersMessageId>
<d2p1:OrdersReasonId>1</d2p1:OrdersReasonId>
<d2p1:OrdersTypeId>1</d2p1:OrdersTypeId>
<d2p1:Points>12</d2p1:Points>
<d2p1:PointsEstimated>true</d2p1:PointsEstimated>
<d2p1:PostCode>sample string 9</d2p1:PostCode>
<d2p1:PreOrderDate>2026-03-20T14:27:36.0162385+00:00</d2p1:PreOrderDate>
<d2p1:PrintStatus>1</d2p1:PrintStatus>
<d2p1:ServiceCharge>1</d2p1:ServiceCharge>
<d2p1:TGorderid>10</d2p1:TGorderid>
<d2p1:TableName>sample string 14</d2p1:TableName>
<d2p1:TableNo>1</d2p1:TableNo>
<d2p1:TotalPrice>1</d2p1:TotalPrice>
<d2p1:Town>sample string 6</d2p1:Town>
<d2p1:UserAgent>sample string 16</d2p1:UserAgent>
<d2p1:indexedDbOrderId>sample string 15</d2p1:indexedDbOrderId>
</BaseObject>
<sales xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:27:36.0162385+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:27:36.0162385+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:AddressLine1>sample string 3</d2p1:AddressLine1>
<d2p1:AddressLine2>sample string 4</d2p1:AddressLine2>
<d2p1:AddressLine3>sample string 5</d2p1:AddressLine3>
<d2p1:ApplicationFee>1</d2p1:ApplicationFee>
<d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
<d2p1:BusinessId>1</d2p1:BusinessId>
<d2p1:Country>sample string 8</d2p1:Country>
<d2p1:County>sample string 7</d2p1:County>
<d2p1:CustomerId>1</d2p1:CustomerId>
<d2p1:CustomerName>sample string 2</d2p1:CustomerName>
<d2p1:DeliveryCharge>1</d2p1:DeliveryCharge>
<d2p1:DiscountTotal>1</d2p1:DiscountTotal>
<d2p1:IpAddress>sample string 17</d2p1:IpAddress>
<d2p1:Issyncorder>true</d2p1:Issyncorder>
<d2p1:OrderId>1</d2p1:OrderId>
<d2p1:OrderNo>1</d2p1:OrderNo>
<d2p1:OrderNotes>sample string 1</d2p1:OrderNotes>
<d2p1:OrdersActionId>1</d2p1:OrdersActionId>
<d2p1:OrdersMessageId>1</d2p1:OrdersMessageId>
<d2p1:OrdersReasonId>1</d2p1:OrdersReasonId>
<d2p1:OrdersTypeId>1</d2p1:OrdersTypeId>
<d2p1:Points>12</d2p1:Points>
<d2p1:PointsEstimated>true</d2p1:PointsEstimated>
<d2p1:PostCode>sample string 9</d2p1:PostCode>
<d2p1:PreOrderDate>2026-03-20T14:27:36.0162385+00:00</d2p1:PreOrderDate>
<d2p1:PrintStatus>1</d2p1:PrintStatus>
<d2p1:ServiceCharge>1</d2p1:ServiceCharge>
<d2p1:TGorderid>10</d2p1:TGorderid>
<d2p1:TableName>sample string 14</d2p1:TableName>
<d2p1:TableNo>1</d2p1:TableNo>
<d2p1:TotalPrice>1</d2p1:TotalPrice>
<d2p1:Town>sample string 6</d2p1:Town>
<d2p1:UserAgent>sample string 16</d2p1:UserAgent>
<d2p1:indexedDbOrderId>sample string 15</d2p1:indexedDbOrderId>
</sales>
</UpsertOrderRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UpsertOrderResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| BaseObject | BaseOrderModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"BaseObject": {
"DeliveryCharge": 1.0,
"BusinessId": 1,
"OrdersTypeId": 1,
"OrderNo": 1,
"OrdersActionId": 1,
"OrdersMessageId": 1,
"OrdersReasonId": 1,
"OrderNotes": "sample string 1",
"CustomerId": 1,
"CustomerName": "sample string 2",
"TableNo": 1,
"TotalPrice": 1.0,
"BusinessAddressId": 1,
"AddressLine1": "sample string 3",
"AddressLine2": "sample string 4",
"AddressLine3": "sample string 5",
"Town": "sample string 6",
"County": "sample string 7",
"Country": "sample string 8",
"PostCode": "sample string 9",
"PrintStatus": 1,
"DiscountTotal": 1.0,
"TGorderid": 10,
"Issyncorder": true,
"Points": 12,
"PointsEstimated": true,
"ServiceCharge": 1.0,
"TableName": "sample string 14",
"indexedDbOrderId": "sample string 15",
"OrderId": 1,
"PreOrderDate": "2026-03-20T14:27:36.0318672+00:00",
"ApplicationFee": 1.0,
"UserAgent": "sample string 16",
"IpAddress": "sample string 17",
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:27:36.0318672+00:00",
"LastUpdated": "2026-03-20T14:27:36.0318672+00:00",
"Id": 1
}
}
application/xml, text/xml
Sample:
<UpsertOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<BaseObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:27:36.0318672+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:27:36.0318672+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:AddressLine1>sample string 3</d2p1:AddressLine1>
<d2p1:AddressLine2>sample string 4</d2p1:AddressLine2>
<d2p1:AddressLine3>sample string 5</d2p1:AddressLine3>
<d2p1:ApplicationFee>1</d2p1:ApplicationFee>
<d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
<d2p1:BusinessId>1</d2p1:BusinessId>
<d2p1:Country>sample string 8</d2p1:Country>
<d2p1:County>sample string 7</d2p1:County>
<d2p1:CustomerId>1</d2p1:CustomerId>
<d2p1:CustomerName>sample string 2</d2p1:CustomerName>
<d2p1:DeliveryCharge>1</d2p1:DeliveryCharge>
<d2p1:DiscountTotal>1</d2p1:DiscountTotal>
<d2p1:IpAddress>sample string 17</d2p1:IpAddress>
<d2p1:Issyncorder>true</d2p1:Issyncorder>
<d2p1:OrderId>1</d2p1:OrderId>
<d2p1:OrderNo>1</d2p1:OrderNo>
<d2p1:OrderNotes>sample string 1</d2p1:OrderNotes>
<d2p1:OrdersActionId>1</d2p1:OrdersActionId>
<d2p1:OrdersMessageId>1</d2p1:OrdersMessageId>
<d2p1:OrdersReasonId>1</d2p1:OrdersReasonId>
<d2p1:OrdersTypeId>1</d2p1:OrdersTypeId>
<d2p1:Points>12</d2p1:Points>
<d2p1:PointsEstimated>true</d2p1:PointsEstimated>
<d2p1:PostCode>sample string 9</d2p1:PostCode>
<d2p1:PreOrderDate>2026-03-20T14:27:36.0318672+00:00</d2p1:PreOrderDate>
<d2p1:PrintStatus>1</d2p1:PrintStatus>
<d2p1:ServiceCharge>1</d2p1:ServiceCharge>
<d2p1:TGorderid>10</d2p1:TGorderid>
<d2p1:TableName>sample string 14</d2p1:TableName>
<d2p1:TableNo>1</d2p1:TableNo>
<d2p1:TotalPrice>1</d2p1:TotalPrice>
<d2p1:Town>sample string 6</d2p1:Town>
<d2p1:UserAgent>sample string 16</d2p1:UserAgent>
<d2p1:indexedDbOrderId>sample string 15</d2p1:indexedDbOrderId>
</BaseObject>
<Message>sample string 2</Message>
<Status>true</Status>
</UpsertOrderResponse>