POST api/productvouchers/use
Request Information
URI Parameters
None.
Body Parameters
ProductVoucherUseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| VoucherId | integer |
Range: inclusive between 1 and 2147483647 |
|
| CFId | integer |
Range: inclusive between 1 and 2147483647 |
|
| ProdId | integer |
Range: inclusive between 1 and 2147483647 |
Request Formats
application/json, text/json
Sample:
{
"VoucherId": 1,
"CFId": 2,
"ProdId": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ProductVoucherUseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| VoucherId | integer |
None. |
|
| CFId | integer |
None. |
|
| CFPrId | integer |
None. |
|
| ProdId | integer |
None. |
|
| State | PrepaidVoucherStates |
None. |
Response Formats
application/json, text/json
Sample:
{
"VoucherId": 1,
"CFId": 2,
"CFPrId": 3,
"ProdId": 4,
"State": 0
}