List store items
Stream Store items with type, cost in points, quantity, cooldowns and whether they are on.
GET https://cotlet.dev/api/v1/streamelements/store-items
read
Returns the items of your Stream Store. Type is Stream Perk, Sound Effect or Access-Code List. Cost is in your loyalty points. Quantity is what is left to redeem. Pass item_id to update_store_item. Needs the Loyalty System, which YouTube accounts do not have.
Parameters
| Name | Type | Description |
|---|---|---|
| type enum | enum | stream_perk, sound_effect or access_code_list. Default: all. |
| enabled boolean | boolean | Only items that are on (true) or off (false). |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/streamelements/store-items \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("streamelements", "list_store_items") const result = await cotlet.call('streamelements', 'list_store_items'); cotlet call streamelements list_store_items Example response
{
"items": [
{
"item_id": "i_5c0bb2",
"name": "Sound: Air Horn",
"type": "Sound Effect",
"cost": 100,
"quantity": "unlimited",
"cooldown": {
"global": 0,
"user": 300
},
"enabled": true
}
],
"next_cursor": null
}