Update Custom Reward
documentedUpdates a custom reward.
PUT /helix/channel-points/rewardsChannel Pointsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.twitch.tv/helix/channel_points/custom_rewards?broadcaster_id={{$broadcaster_id}}&id={{$reward_id}}" \
-X PATCH \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Client-Id: {{TWITCH_CLIENT_ID}}" \
-H "Content-Type: application/json" \
-d '{"title": "{{$title}}", "cost": {{$cost}}, "is_enabled": {{$is_enabled}}, "is_user_input_required": {{$is_user_input_required}}, "prompt": "{{$prompt}}", "background_color": "{{$background_color}}", "should_redemptions_skip_request_queue": {{$should_redemptions_skip_request_queue}}, "max_per_user_per_stream_setting": {"is_enabled": {{$max_per_user_per_stream_is_enabled}}, "max_per_user_per_stream": {{$max_per_user_per_stream}}}, "max_per_stream_setting": {"is_enabled": {{$max_per_stream_is_enabled}}, "max_per_stream": {{$max_per_stream}}}, "global_cooldown_setting": {"is_enabled": {{$global_cooldown_is_enabled}}, "global_cooldown_seconds": {{$global_cooldown_seconds}}} }'"