Update/create a record of a given reference entity
PATCH
/api/rest/v1/reference-entities/{reference_entity_code}/records/{code}
Reference entity record
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/api/rest/v1/reference-entities//records/' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "kartell",
"values": {
"collection_overview": [
{
"channel": null,
"data": "5/1/d/8/51d81dc778ba1501a8f998f3ab5797569f3b9e25_img.png",
"locale": null
}
],
"country": [
{
"channel": null,
"data": "italy",
"locale": null
}
],
"creation_year": [
{
"channel": null,
"data": "1949",
"locale": null
}
],
"description": [
{
"channel": null,
"data": "Kartell, the Italian furniture company that sells modern and remarkable pieces of furnitures.",
"locale": "en_US"
},
{
"channel": null,
"data": "Kartell, l'\''éditeur de meuble italien spécialisé dans la signature de belle pièces au design contemporain.",
"locale": "fr_FR"
}
],
"image": [
{
"channel": null,
"data": "0/c/b/0/0cb0c0e115dedba676f8d1ad8343ec207ab54c7b_image.jpg",
"locale": null
}
],
"label": [
{
"channel": null,
"data": "Kartell",
"locale": "en_US"
}
]
}
}'
Response Response Example
201 - Example 1
{}
Request
Path Params
reference_entity_code
string
required
code
string
required
Body Params application/json
Responses
Modified at 2023-08-15 05:53:55