---
title: "Update a single resource - PredefinedValue"
method: PUT
path: "/predefined-values/{id}"
tags: ["Data Model"]
---

# Update a single resource - PredefinedValue

`PUT /predefined-values/{id}`

Replaces the PredefinedValue resource.

## Path parameters

- `id` string, required

## Request body

- PredefinedValuePredefinedValueInputPredefinedValueInputUpdate
  - `id` string
  - `name` LocaleTranslation — This structure does accept key & values where key has to be a locale code configured in your PIM & the value is the value for this field in this locale.
    - `fr_FR` string
    - `en_US` string
  - `description` LocaleTranslation — This structure does accept key & values where key has to be a locale code configured in your PIM & the value is the value for this field in this locale.
    - `fr_FR` string
    - `en_US` string

## Response `200`

PredefinedValue resource updated

- PredefinedValuePredefinedValueOutputPredefinedValueOutput
  - `legacyId` integer
  - `attribute` AttributesEavAttributeOutputPredefinedValueOutput
    - `id` string — This is the unique identifier of the resource
  - `name` LocaleTranslation — This structure does accept key & values where key has to be a locale code configured in your PIM & the value is the value for this field in this locale.
    - `fr_FR` string
    - `en_US` string
  - `description` LocaleTranslation — This structure does accept key & values where key has to be a locale code configured in your PIM & the value is the value for this field in this locale.
    - `fr_FR` string
    - `en_US` string
  - `dateCreated` string, date-time, nullable — This is an ISO datetime
  - `dateModified` string, date-time, nullable — This is an ISO datetime
  - `id` string — This is the unique identifier of the resource

## Other responses

- `400` — Invalid input
- `404` — Resource not found
- `422` — Unprocessable entity

---

[API](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/versions/1641096abb34/schema)
