Update loyalty settings
loyalty_update_settingsUpdate a StreamElements channel's loyalty settings by sending the current settings document with your changes applied.
Instructions
Update the channel's loyalty settings. StreamElements does not document the body. Send the document shape returned by loyalty_get_settings (at least its loyalty object) with your changes applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | StreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token. | |
| settings | Yes | Loyalty settings document, e.g. { "loyalty": { "name": "gems", "amount": 5, ... } } |