Widgets
Update widget
Changed onUpdate the version named in the body (404 if it does not exist), or create the next draft version when the body names none. State only changes through publish and pause; a body state must match the stored one. A published version's config, type and targeting cannot change until it is paused.
put/widget/{id}
Request
- Base URLhttps://api.lytics.io/v2
- URLhttps://api.lytics.io/v2/widget/{id}
- AuthAPI key in header Authorization
Path parameters
idstring required
The widget id
Query parameters
account_idstring
The account ID. Defaults to the user's default account.
Request body
Response
Updated Widget
Changes
- info
endpoint added
- info