POST api/order/Payment/Cash/Save
To Add a cash payment for a Order
Request Information
URI Parameters
None.
Body Parameters
CashPaymentViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID |
This is the orderID to apply the payment |
integer |
Required |
| PaymentDate |
This is the date used by accounting for the payment recorded |
date |
Required |
| Amount |
The payment amount to apply. This amount must be no greater than the order total. |
decimal number |
Required |
Request Formats
application/xml, text/xml
Sample:
<CashPaymentViewModel> <OrderID>1</OrderID> <PaymentDate>10/28/2025 17:43:55</PaymentDate> <Amount>3</Amount> </CashPaymentViewModel>
application/json, text/json
Sample:
{
"OrderID": 1,
"PaymentDate": "2025-10-28T17:43:55.590539-04:00",
"Amount": 3.0
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.