GET api/evoucher/buy?supplierId={supplierId}&dealId={dealId}
Get Max Allowed Quantity of eVouchers to Buy
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| supplierId | integer |
Required |
|
| dealId | integer |
Required |
Body Parameters
None.
Response Information
Quantity of eVouchers allowed to buy in current order
| Name | Description | Type | Additional information |
|---|---|---|---|
| TeaserText |
Teaser Text |
string |
None. |
| MaxQuantity |
Max Quantity of the EVouchers, user allowed to buy |
integer |
None. |
| NormalPrice |
Discount user will get |
decimal number |
None. |
| DiscountPrice |
Discount user will get |
decimal number |
None. |
| Currency |
Currency |
Currency |
None. |
Response Formats
application/json, text/json
Sample:
{
"teaserText": "sample string 1",
"maxQuantity": 2,
"normalPrice": 3.1,
"discountPrice": 4.1,
"currency": {
"currencySymbol": "sample string 1",
"isPrefix": true
}
}