PUT api/quote/{id}
Update an existing Quote Header record
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Guid Identifier of Quote Header record |
globally unique identifier |
Required |
Body Parameters
Quote Header record
QuoteHeader| Name | Description | Type | Additional information |
|---|---|---|---|
| SaleHeaderID | integer |
None. |
|
| SaleIdentifier | string |
String length: inclusive between 0 and 20 |
|
| SaleHeaderGuid | Collection of byte |
None. |
|
| SaleHeaderIdentifierGuid | globally unique identifier |
None. |
|
| DeptNo | integer |
None. |
|
| ZoneID | integer |
None. |
|
| OperatorID | integer |
None. |
|
| OperatorG_UID | Collection of byte |
None. |
|
| OperatorGuid | globally unique identifier |
None. |
|
| Created | date |
None. |
|
| ItemCount | integer |
None. |
|
| TotalAmount | integer |
None. |
|
| CashTender | integer |
Data type: Currency |
|
| CardTender | integer |
Data type: Currency |
|
| CheqTender | integer |
Data type: Currency |
|
| AcctTender | integer |
Data type: Currency |
|
| VoucherTender | integer |
Data type: Currency |
|
| VoucherForegone | integer |
None. |
|
| Cashout | integer |
Data type: Currency |
|
| ChangeAmount | integer |
Data type: Currency |
|
| Rounding | integer |
None. |
|
| GstAmount | integer |
None. |
|
| CardName | string |
String length: inclusive between 0 and 16 |
|
| AccountType | integer |
None. |
|
| AuthID | string |
String length: inclusive between 0 and 16 |
|
| BankRef | string |
String length: inclusive between 0 and 16 |
|
| InvRoc | string |
String length: inclusive between 0 and 16 |
|
| ResponseCode | string |
String length: inclusive between 0 and 4 |
|
| OrderNo | integer |
None. |
|
| AccountNo | integer |
None. |
|
| TranType | TransactionType |
None. |
|
| Processed | Processed |
None. |
|
| MachineID | integer |
None. |
|
| StoreID | integer |
None. |
|
| CustomerG_UID | Collection of byte |
None. |
|
| CustomerGuid | globally unique identifier |
None. |
|
| CommunityIdentifier | Collection of byte |
None. |
|
| CommunityIdentifierGuid | globally unique identifier |
None. |
|
| TimeInSale | time interval |
None. |
|
| TimeInSubtotal | time interval |
None. |
|
| NewID | integer |
None. |
|
| TotalTaxInclusive | integer |
None. |
|
| TotalTaxExempt | integer |
None. |
|
| LoyaltyPoints | integer |
None. |
|
| TaxTransactionDiscount | integer |
None. |
|
| TransactionDiscountTender | integer |
None. |
|
| TaxTransactionDiscountTender | integer |
None. |
|
| TableNumber | integer |
None. |
|
| Note | string |
String length: inclusive between 0 and 140 |
|
| ReceiptPrinted | boolean |
None. |
|
| MasterRoamingID | integer |
None. |
|
| IsLocal | boolean |
None. |
|
| DrawerID | integer |
None. |
|
| DemoID | string |
None. |
|
| RetrievedBy | Collection of byte |
None. |
|
| RetrievedByGuid | globally unique identifier |
None. |
|
| RetrievedAt | date |
None. |
|
| AgeVerified | boolean |
None. |
|
| FiscalReference | string |
String length: inclusive between 0 and 60 |
|
| CustomerReference | string |
String length: inclusive between 0 and 140 |
|
| Locked | boolean |
None. |
|
| Reversed | boolean |
None. |
|
| SmartReceiptStatus | boolean |
None. |
|
| RequiredExports | integer |
None. |
|
| PickupDate | date |
None. |
|
| LastQuoteSent | date |
None. |
|
| AccountID | Collection of byte |
None. |
|
| AccountIDGuid | globally unique identifier |
None. |
|
| StoreName | string |
Relation. This field may not always be loaded or used for updates. |
|
| CustomerName | string |
Relation. This field may not always be loaded or used for updates. |
|
| CustomerEmail | string |
Relation. This field may not always be loaded or used for updates. |
|
| SaleNumber |
Finalised Sale Header ID |
integer |
Relation. This field may not always be loaded or used for updates. |
| Details | Collection of QuoteDetail |
Relation. This field may not always be loaded or used for updates. |
|
| Payments | Collection of QuotePayment |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
{
"saleHeaderID": 1,
"saleIdentifier": "sample string 2",
"saleHeaderGuid": "Viy6col0vEGWyjW+Yz8+aA==",
"saleHeaderIdentifierGuid": "72ba2c56-7489-41bc-96ca-35be633f3e68",
"deptNo": 1,
"zoneID": 1,
"operatorID": 3,
"operatorG_UID": "z3+1bqmDhUGDXN07/wdw5w==",
"operatorGuid": "6eb57fcf-83a9-4185-835c-dd3bff0770e7",
"created": "2026-06-03T18:30:53.2295417",
"itemCount": 5,
"totalAmount": 6,
"cashTender": 1,
"cardTender": 1,
"cheqTender": 1,
"acctTender": 1,
"voucherTender": 1,
"voucherForegone": 1,
"cashout": 1,
"changeAmount": 1,
"rounding": 1,
"gstAmount": 1,
"cardName": "sample string 7",
"accountType": 1,
"authID": "sample string 8",
"bankRef": "sample string 9",
"invRoc": "sample string 10",
"responseCode": "sample string 11",
"orderNo": 1,
"accountNo": 1,
"tranType": 1,
"processed": 1,
"machineID": 1,
"storeID": 12,
"customerG_UID": "/9GywNXIoUS4nlDniItvTQ==",
"customerGuid": "c0b2d1ff-c8d5-44a1-b89e-50e7888b6f4d",
"communityIdentifier": "tohC3d5iF0ebllLmkpObSg==",
"communityIdentifierGuid": "dd4288b6-62de-4717-9b96-52e692939b4a",
"timeInSale": "00:00:00.1234567",
"timeInSubtotal": "00:00:00.1234567",
"newID": 1,
"totalTaxInclusive": 1,
"totalTaxExempt": 1,
"loyaltyPoints": 1,
"taxTransactionDiscount": 1,
"transactionDiscountTender": 1,
"taxTransactionDiscountTender": 1,
"tableNumber": 1,
"note": "sample string 13",
"receiptPrinted": true,
"masterRoamingID": 1,
"isLocal": true,
"drawerID": 1,
"demoID": "sample string 14",
"retrievedBy": "Zn4gKPR6fUeNqpUF/jYcKQ==",
"retrievedByGuid": "28207e66-7af4-477d-8daa-9505fe361c29",
"retrievedAt": "2026-06-03T18:30:53.2295417",
"ageVerified": true,
"fiscalReference": "sample string 15",
"customerReference": "sample string 16",
"locked": true,
"reversed": true,
"smartReceiptStatus": true,
"requiredExports": 1,
"pickupDate": "2026-06-03T18:30:53.2295417",
"lastQuoteSent": "2026-06-03T18:30:53.2295417",
"accountID": "3tf8jpCgMkeZMmCr/k0AVA==",
"accountIDGuid": "8efcd7de-a090-4732-9932-60abfe4d0054",
"storeName": "sample string 17",
"customerName": "sample string 18",
"customerEmail": "sample string 19",
"saleNumber": 1,
"details": [
{
"$id": "2",
"saleItemID": 1,
"saleHeaderID": 2,
"identifier": "3XaqbLjVk0uFZya7h4DiTw==",
"identifierGuid": "6caa76dd-d5b8-4b93-8567-26bb8780e24f",
"plu": 1,
"pluG_UID": "9MaD7ZV27U213SV9N3NDFA==",
"pluGuid": "ed83c6f4-7695-4ded-b5dd-257d37734314",
"accountId": "rSRwXT9wkESvCz0ePpr4jA==",
"accountIdGuid": "5d7024ad-703f-4490-af0b-3d1e3e9af88c",
"normalPrice": 3,
"originalSellingPrice": 4,
"discountPrice": 5,
"unit": 1,
"quantity": 6,
"totalCents": 7,
"fixedPrice": 1,
"tranType": 1,
"processed": true,
"discountType": 1,
"operatorDiscount": true,
"cost": 1,
"costDecimals": 8,
"active": true,
"markdown": true,
"manualQuantity": true,
"manualPrice": true,
"manualMode": true,
"offline": true,
"refunded": true,
"barcode": "sample string 9",
"keyedSale": true,
"discountedID": 1,
"fuelID": 1,
"serialNumber": "sample string 10",
"bestOrExpire": "2026-06-03T18:30:53.2295417",
"bestOrExpireType": true,
"refundG_UID": "vARGhSovgUiBUZ8Qk0KvMQ==",
"refundGuid": "854604bc-2f2a-4881-8151-9f109342af31",
"providerName": "sample string 11",
"campaign": "sample string 12",
"campaignType": 1,
"modifiedID": 1,
"omittedIngredient": true,
"taxPercent": 1.1,
"taxAmount": 1.1,
"refundablePrice": 1.1,
"showDiscounts": true,
"orderPrinted": true,
"note": "sample string 13",
"operatorG_UID": "ArT8YP87CkG88VKEAXTZPA==",
"operatorGuid": "60fcb402-3bff-410a-bcf1-52840174d93c",
"modifierName": "sample string 14",
"modifierSetName": "sample string 15",
"totalValueWasScanned": true,
"sold": true,
"campaignPrice": true,
"scannedValue": 1,
"campaignName": "sample string 16",
"comboDiscount": 1,
"weightEmbedded": true,
"departmentID": 1,
"departmentCode": "sample string 17",
"idempotentVoid": "uwd41wPbo0ucNOOSLQxalA==",
"idempotentVoidGuid": "d77807bb-db03-4ba3-9c34-e3922d0c5a94",
"saleHeaderGuid": "rtshCpvGg0OWTCq8kGw7kg==",
"saleHeaderIdentifierGuid": "0a21dbae-c69b-4383-964c-2abc906c3b92",
"discounts": [
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"modifiers": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
},
{
"$ref": "2"
}
],
"payments": [
{
"$id": "3",
"id": 1,
"identifier": "Mj6ySDHg5UyVaTOqfR1w7w==",
"identifierGuid": "48b23e32-e031-4ce5-9569-33aa7d1d70ef",
"saleHeaderID": 2,
"paymentType": 3,
"amount": 4,
"account": "sample string 5",
"accountID": "4xKACi2sJUGypP/Swre02A==",
"accountIDGuid": "0a8012e3-ac2d-4125-b2a4-ffd2c2b7b4d8",
"accountType": 1,
"cardName": "sample string 6",
"authorisationNumber": "sample string 7",
"bankReference": "sample string 8",
"merchantID": "sample string 9",
"terminalID": "sample string 10",
"cardNumber": "sample string 11",
"paymentDate": "2026-06-03T18:30:53.2295417",
"paymentDateString": "sample string 12",
"invRocNo": "sample string 13",
"responseCode": "sample string 14",
"cashout": 1,
"idempotentVoid": "NbZ13byA3UiYa4bPJ9haNg==",
"idempotentVoidGuid": "dd75b635-80bc-48dd-986b-86cf27d85a36",
"offline": true,
"processed": 1,
"stan": "sample string 15",
"responseText": "sample string 16",
"saleHeaderGuid": "GnN26NRpME+BVaGY7bOvpw==",
"saleHeaderIdentifierGuid": "e876731a-69d4-4f30-8155-a198edb3afa7"
},
{
"$ref": "3"
}
]
}
application/xml
Sample not available.
text/xml
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Returns an updated header record(without details)
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel
Sample not available.