DELETE api/order/RetailReceipt
Allows the updating of existing retail receipts. The ID passed with determine which records are being updated.
Request Information
URI Parameters
None.
Body Parameters
. ID is ignored as a new ID will be generated
Collection of RetailReceiptViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
The ID of the transaction |
integer |
None. |
| RepDID |
The Rep # of the Rep who made the sale |
string |
None. |
| BCDID | integer |
None. |
|
| CustomerDID |
The customer # of the customer who purchased the item |
string |
None. |
| OrderDate |
The date of the sale. This should correspond to the date the funds were transferred |
date |
None. |
| CurrencyTypeID |
The currency type that was sold. |
integer |
None. |
| ShipFirstName |
Shipping First Name |
string |
None. |
| ShipLastName |
Shipping Last Name |
string |
None. |
| ShipStreet1 |
Shipping ShipStreet1 |
string |
None. |
| ShipStreet2 |
Shipping ShipStreet2 |
string |
None. |
| ShipCity |
Shipping ShipCity |
string |
None. |
| ShipState |
Shipping ShipState |
string |
None. |
| ShipPostalCode |
Shipping ShipPostalCode |
string |
None. |
| ShipCountry |
Shipping ShipCountry |
string |
None. |
| ShipPhone |
Shipping ShipPhone |
string |
None. |
| ShippingFee |
Shipping Cost |
decimal number |
None. |
| ShippingTax |
Shipping Tax |
decimal number |
None. |
| ServiceFee |
Any additional charges incurred |
decimal number |
None. |
| TotalCost |
Total Invoiced Cost |
decimal number |
None. |
| MultiplierTypeID |
Use 1 for Normal, 2 for Return |
integer |
None. |
| Taxexempt |
Indicate if Order is taxexempt |
boolean |
None. |
| ThirdpartyReferenceID |
Primary Key of Thirdparty |
string |
None. |
| ReceiptLinkID |
This should be populated on return receipts to reference the original receiptID |
string |
None. |
| Details |
The line items corresponding to the retail sale |
Collection of RetailReceiptDetailViewModel |
None. |
Request Formats
application/xml, text/xml
<ListOfRetailReceiptViewModel>
<RetailReceiptViewModel>
<ID>1</ID>
<RepDID>sample string 2</RepDID>
<BCDID>3</BCDID>
<CustomerDID>sample string 4</CustomerDID>
<OrderDate>11/03/2025 08:36:37</OrderDate>
<CurrencyTypeID>6</CurrencyTypeID>
<ShipFirstName>sample string 7</ShipFirstName>
<ShipLastName>sample string 8</ShipLastName>
<ShipStreet1>sample string 9</ShipStreet1>
<ShipStreet2>sample string 10</ShipStreet2>
<ShipCity>sample string 11</ShipCity>
<ShipState>sample string 12</ShipState>
<ShipPostalCode>sample string 13</ShipPostalCode>
<ShipCountry>sample string 14</ShipCountry>
<ShipPhone>sample string 15</ShipPhone>
<ShippingFee>16</ShippingFee>
<ShippingTax>17</ShippingTax>
<ServiceFee>18</ServiceFee>
<TotalCost>19</TotalCost>
<MultiplierTypeID>20</MultiplierTypeID>
<Taxexempt>True</Taxexempt>
<ThirdpartyReferenceID>sample string 22</ThirdpartyReferenceID>
<ReceiptLinkID>sample string 23</ReceiptLinkID>
<Details>
<RetailReceiptDetailViewModel>
<ProductID>sample string 1</ProductID>
<Quantity>2</Quantity>
<Price>3</Price>
<Tax>4</Tax>
</RetailReceiptDetailViewModel>
<RetailReceiptDetailViewModel>
<ProductID>sample string 1</ProductID>
<Quantity>2</Quantity>
<Price>3</Price>
<Tax>4</Tax>
</RetailReceiptDetailViewModel>
</Details>
</RetailReceiptViewModel>
<RetailReceiptViewModel>
<ID>1</ID>
<RepDID>sample string 2</RepDID>
<BCDID>3</BCDID>
<CustomerDID>sample string 4</CustomerDID>
<OrderDate>11/03/2025 08:36:37</OrderDate>
<CurrencyTypeID>6</CurrencyTypeID>
<ShipFirstName>sample string 7</ShipFirstName>
<ShipLastName>sample string 8</ShipLastName>
<ShipStreet1>sample string 9</ShipStreet1>
<ShipStreet2>sample string 10</ShipStreet2>
<ShipCity>sample string 11</ShipCity>
<ShipState>sample string 12</ShipState>
<ShipPostalCode>sample string 13</ShipPostalCode>
<ShipCountry>sample string 14</ShipCountry>
<ShipPhone>sample string 15</ShipPhone>
<ShippingFee>16</ShippingFee>
<ShippingTax>17</ShippingTax>
<ServiceFee>18</ServiceFee>
<TotalCost>19</TotalCost>
<MultiplierTypeID>20</MultiplierTypeID>
<Taxexempt>True</Taxexempt>
<ThirdpartyReferenceID>sample string 22</ThirdpartyReferenceID>
<ReceiptLinkID>sample string 23</ReceiptLinkID>
<Details>
<RetailReceiptDetailViewModel>
<ProductID>sample string 1</ProductID>
<Quantity>2</Quantity>
<Price>3</Price>
<Tax>4</Tax>
</RetailReceiptDetailViewModel>
<RetailReceiptDetailViewModel>
<ProductID>sample string 1</ProductID>
<Quantity>2</Quantity>
<Price>3</Price>
<Tax>4</Tax>
</RetailReceiptDetailViewModel>
</Details>
</RetailReceiptViewModel>
</ListOfRetailReceiptViewModel>
application/json, text/json
[
{
"ID": 1,
"RepDID": "sample string 2",
"BCDID": 3,
"CustomerDID": "sample string 4",
"OrderDate": "2025-11-03T08:36:37.4160833-05:00",
"CurrencyTypeID": 6,
"ShipFirstName": "sample string 7",
"ShipLastName": "sample string 8",
"ShipStreet1": "sample string 9",
"ShipStreet2": "sample string 10",
"ShipCity": "sample string 11",
"ShipState": "sample string 12",
"ShipPostalCode": "sample string 13",
"ShipCountry": "sample string 14",
"ShipPhone": "sample string 15",
"ShippingFee": 16.0,
"ShippingTax": 17.0,
"ServiceFee": 18.0,
"TotalCost": 19.0,
"MultiplierTypeID": 20,
"Taxexempt": true,
"ThirdpartyReferenceID": "sample string 22",
"ReceiptLinkID": "sample string 23",
"Details": [
{
"ProductID": "sample string 1",
"Quantity": 2,
"Price": 3.0,
"Tax": 4.0
},
{
"ProductID": "sample string 1",
"Quantity": 2,
"Price": 3.0,
"Tax": 4.0
}
]
},
{
"ID": 1,
"RepDID": "sample string 2",
"BCDID": 3,
"CustomerDID": "sample string 4",
"OrderDate": "2025-11-03T08:36:37.4160833-05:00",
"CurrencyTypeID": 6,
"ShipFirstName": "sample string 7",
"ShipLastName": "sample string 8",
"ShipStreet1": "sample string 9",
"ShipStreet2": "sample string 10",
"ShipCity": "sample string 11",
"ShipState": "sample string 12",
"ShipPostalCode": "sample string 13",
"ShipCountry": "sample string 14",
"ShipPhone": "sample string 15",
"ShippingFee": 16.0,
"ShippingTax": 17.0,
"ServiceFee": 18.0,
"TotalCost": 19.0,
"MultiplierTypeID": 20,
"Taxexempt": true,
"ThirdpartyReferenceID": "sample string 22",
"ReceiptLinkID": "sample string 23",
"Details": [
{
"ProductID": "sample string 1",
"Quantity": 2,
"Price": 3.0,
"Tax": 4.0
},
{
"ProductID": "sample string 1",
"Quantity": 2,
"Price": 3.0,
"Tax": 4.0
}
]
}
]
application/x-www-form-urlencoded
Response Information
Resource Description
The list of passed receipts along with the newly created IDs
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |