update
suspend fun update(broadcasterId: String, rewardId: String, request: UpdateRewardRequest): CustomReward
Twitch API: Update Custom Reward
Updates a custom reward. The app used to create the reward is the only app that may update the reward.
Return
the updated custom reward.
Parameters
broadcasterId
the ID of the broadcaster that's updating the reward. This ID must match the user ID found in the OAuth token.
rewardId
the ID of the reward to update.
request
the fields to update. The body should contain only the fields you're updating.