Update discount code
- Participants which are not approved yet, will get the new discount value.
- There will be no consequences for already approved participants which have received the invoice.
- You can’t update the code itself, delete it and create a new one if you wan’t to change name.
Request
1 | PUT /host/events/{number}/discount-codes/{number}
|
1 2 3 | { "amount": 100.00 } |
Name | Description | Required | Type | Limitation |
---|---|---|---|---|
amount | Discount amount in NOK | mandatory | Number | 13 characters, including punctuation marks and signs. Must be a positive value less than the event price. |
Response
HTTP/1.1 204 No Content