---
title: "Partially update widget studio"
method: PATCH
path: "/widget-studio/{widgetId}"
tags: ["WidgetStudio"]
---

# Partially update widget studio

`PATCH /widget-studio/{widgetId}`

Update several fields of widget studio

## Path parameters

- `widgetId` integer, required

## Request body

- WidgetStudioUpdateIO
  - `dateCreated` string, date-time — Time when the widget studio object was created.
  - `dateModified` string, date-time — Time when the widget studio object was last modified.
  - `elements` string[] — List of element types used in the widget studio.
  - `eventActions` string[] — List of event actions that can be triggered within the widget studio.
  - `eventConditions` string[] — List of event conditions that determine widget studio behavior.
  - `fonts` WidgetFont1[] — List of custom fonts used within the widget studio.
    - `fontFamily` string
    - `fontSrc` string
    - `fontWeights` string[]
    - `id` string
    - `importSrc` string
  - `isLegacy` boolean — Indicates whether a widget is part of the legacy system
  - `screens` Screen[] — List of screens that are part of this widget studio configuration.
    - `id` string
    - `name` string
    - `templateName` string
  - `translation` Translation — Translation settings for the widget studio.
    - `defaultLanguageId` string
    - `enabled` boolean
    - `languages` Language[]
      - `IID` string
      - `code` string
      - `name` string
  - `version` number, double — Version of the widget, precision = 5, scale = 2.
  - `widgetEditorTemplate` string — Serialized JSON representation of the widget configuration used in the editor.
  - `widgetId` integer — Unique Id of the associated widget.

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/revisions/09f2abcea0b5/schema)
