put https://api.accelevents.com/rest/host/event//raffle/settings
This API is used to update the Raffle settings on the host side. Users need to pass the Raffle setting information to API as shown in the request body. This API can be accessed by event admin and super admin. We need to pass an authentication token to authorize the user.
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Successfully updated host settings |
4060310 | This raffle has already ended. You must reset this raffle before changing the end time. Resetting this raffle will delete all user activity and it will NOT be recoverable. |
4060314 | Available Tickets must be greater than, or equal to 0 |