Validate discount code
1 | GET /events/{eventId}/validate?discountCode=value
|
Query param | Description | Required | Type | Limitation |
---|---|---|---|---|
discountCode | The code to validate. Case insensitive comparison. | mandatory | String | 15 characters |
Response
HTTP/1.1 200 OK
1 2 3 | { "amount": 0.00 } |
Name | Description | Required | Type |
---|---|---|---|
amount | Discount amount in NOK | mandatory | Number |