---
title: "Partially update recommender block"
method: PATCH
path: "/studio-recommender-blocks/{studioRecommenderBlockId}"
tags: ["StudioRecommenderBlock"]
---

# Partially update recommender block

`PATCH /studio-recommender-blocks/{studioRecommenderBlockId}`

Update several fields of recommender block

## Path parameters

- `studioRecommenderBlockId` integer, required

## Request body

- StudioRecommenderBlockUpdateIO
  - `code` string — Studio recommender block code that is associated with this recommender block
  - `name` string — Studio recommender block name that is associated with this recommender block
  - `recommenderBlockId` integer — Studio recommender block id that is associated with this recommender block
  - `siteId` integer — The website id that a recommender block belongs to
  - `studioCss` string — Studio recommender block Css that is associated with this recommender block
  - `studioTemplate` string — Studio recommender block instruction that is associated with this recommender block

## 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)
