Update store item
store_items_updateUpdate a StreamElements store item by sending all fields from a prior item fetch with your changes, since the API may treat requests as full replacements.
Instructions
Update a store item. The API may treat this as a full replacement, so the safest approach is to send every field from store_items_get with your changes applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Chat redemption settings | |
| cost | No | Price in loyalty points | |
| name | No | Item name | |
| type | No | Item type, e.g. 'perk' (default) or 'code' (delivers access codes) | |
| alert | No | On-stream alert settings (graphics, audio, enabled) | |
| itemId | Yes | Item id (24-character hex id) | |
| public | No | Whether it shows on the public store page | |
| channel | No | StreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token. | |
| enabled | No | Whether the item can be redeemed | |
| cooldown | No | Cooldowns in seconds | |
| featured | No | Whether it is featured in the store | |
| quantity | No | ||
| userInput | No | Questions the viewer must answer when redeeming | |
| accessCodes | No | Access codes, for 'code' items | |
| description | No | Item description | |
| subscriberOnly | No | Only subscribers can redeem it |