POST api/Admin/RetailSuccessStore/CreateWholesaleOrderPayment
Allows you to create a wholesale order payment for an online order
Request Information
URI Parameters
None.
Body Parameters
RetailSuccessWholeSaleOrderViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RepID |
The ID of the Rep placing the order |
integer |
None. |
| OrderID |
The ID of the order. Orders will be prefixed with "O-", and online order will be prefixed with "OO-" example order: O-12345 example online order: OO-12345 |
string |
None. |
| Amount |
Amount to be taken from the ProPay account |
decimal number |
None. |
Request Formats
application/xml, text/xml
Sample:
<RetailSuccessWholeSaleOrderViewModel> <RepID>1</RepID> <OrderID>sample string 2</OrderID> <Amount>3</Amount> <RepDID>sample string 4</RepDID> </RetailSuccessWholeSaleOrderViewModel>
application/json, text/json
Sample:
{
"RepID": 1,
"OrderID": "sample string 2",
"Amount": 3.0
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PaymentMessageViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Transaction | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<PaymentMessageViewModel> <Message>sample string 1</Message> <Transaction>sample string 2</Transaction> </PaymentMessageViewModel>
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Transaction": "sample string 2"
}