v1

latestOpenAPI 3.0.32026-07-24198357534.7 KB
Data Model

Update a single resource - PredefinedValue

Replaces the PredefinedValue resource.

put/predefined-values/{id}

Path parameters

idstring required

The id must contain the attribute id. Example : attribute=attribute_id;code=predefined_value_id

Request body

idstring

Example request

{
  "name": {
    "fr_FR": "fr_FR translation",
    "en_US": "en_US translation",
    "<*>": "..."
  },
  "description": {
    "fr_FR": "fr_FR translation",
    "en_US": "en_US translation",
    "<*>": "..."
  }
}

Response

PredefinedValue resource updated

legacyIdinteger
dateCreatedstring date-time nullable

This is an ISO datetime

dateModifiedstring date-time nullable

This is an ISO datetime

idstring

This is the unique identifier of the resource

Example response

{
  "attribute": {
    "id": "identifier_example"
  },
  "name": {
    "fr_FR": "fr_FR translation",
    "en_US": "en_US translation",
    "<*>": "..."
  },
  "description": {
    "fr_FR": "fr_FR translation",
    "en_US": "en_US translation",
    "<*>": "..."
  },
  "id": "identifier_example"
}