Public
Events
Update an existing event. The id can be an UID or an externalId
patch/v1/public/events/{eventId}
Request
- Base URLhttps://api.evolia.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
eventIdstring required
Request body
Example request
{
"timeZone": "America/New_York",
"premiumCodes": [
"premiumCode1",
"premiumCode2"
],
"premiumIds": [
"premiumId1",
"premiumId2"
]
}Response
Example response
{
"premiums": [
{
"names": {
"en": "night bonus",
"fr": "prime de nuit"
},
"calculationType": "AMOUNT: flat amount (+ 15$), HOURS: flat amount of hours (+ 1h), HOURLY_MULTIPLIER: multiply hourly rate (x 1.5/h), HOURLY_BONUS: flat hourly bonus (+ 1$/h)",
"code": "241"
}
]
}Changes
No recorded changes to this operation across all 8 revisions of this API.