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>11/03/2025 08:37:00</PaymentDate> <Amount>3</Amount> </CashPaymentViewModel>
application/json, text/json
Sample:
{
"OrderID": 1,
"PaymentDate": "2025-11-03T08:37:00.1669621-05: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.