---
title: "[Beta] upsert supported languages for specific listing"
method: PUT
path: "/marketing/languages/{id}"
tags: ["Marketing fields"]
---

# [Beta] upsert supported languages for specific listing

`PUT /marketing/languages/{id}`

Upsert supported languages for specific listing

## Path parameters

- `id` string, required

## Query parameters

- `updateSubUnits` boolean

## Request body

- object
  - `activeLanguages` string[], required — An array of locale codes (languages) for specific listing.

## Response `200`

Return a list of supported languages for pecific listing

- object[]
  - `name` string
  - `slug` string
  - `active` boolean

## Other responses

- `403` — Unauthorized Request.
- `404` — Not Found

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
