Update Raffle Settings on host side

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 CodeError Description
200Successfully updated host settings
4060310This 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.
4060314Available Tickets must be greater than, or equal to 0
Click Try It! to start a request and see the response here!