TwitchApi.Extensions.UpdateExtensionBitsProduct (TwitchApi v0.1.2) View Source
⛔ This module is autogenerated please do not modify manually.
Example request from twitch api docs:
descriptions:
requests:
curl -X PUT 'https://api.twitch.tv/helix/bits/extensions'
-H'Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y'
-H'Client-Id: uo6dggojyb8d6soh92zknwmi5ej1q2'
-d{"sku": "1010",
"cost": {"amount": 990,
"type": "bits"},
"in_development": true, "display_name": "Rusty Crate 2", "is_broadcast": true, "expiration": "2021-05-18T09:10:13.397Z"}
Example response from twitch api docs:
descriptions:
responses:
{"data":[{"sku":"1010","cost":{"amount":990,"type":"bits"},"in_development":true,"display_name":"Rusty Crate 2","expiration":"2021-05-18T09:10:13.397Z","is_broadcast":true}]}
Link to this section Summary
Functions
Description:
NEW Add or update a Bits products that belongs to an Extension.
Link to this section Functions
Specs
call( %{ cost: %{amount: integer(), type: String.t()}, display_name: String.t(), sku: String.t() } | nil ) :: {:ok, Finch.Response.t()} | {:error, Exception.t()}
Description:
NEW Add or update a Bits products that belongs to an Extension.
Required authentication:
Required authorization:
App Access Token associated with the Extension client ID