curl --request PUT \
--url https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"customId": "<string>",
"description": "<string>",
"brand": {
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
},
"supplier": {
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
},
"companyContactPerson": {
"id": "<string>",
"name": "<string>"
},
"supplierContactPerson": {
"id": "<string>",
"name": "<string>"
},
"defaultQty": 123,
"nameGeneratorExtraText": "<string>",
"readyForExport": true,
"categories": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
],
"customFields": [
{
"id": 123,
"value": {
"id": 123,
"customId": "<string>",
"value": "<string>"
},
"values": [
{
"id": 123,
"customId": "<string>",
"value": "<string>"
}
]
}
]
}
'import requests
url = "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}"
payload = {
"name": "<string>",
"customId": "<string>",
"description": "<string>",
"brand": {
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
},
"supplier": {
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
},
"companyContactPerson": {
"id": "<string>",
"name": "<string>"
},
"supplierContactPerson": {
"id": "<string>",
"name": "<string>"
},
"defaultQty": 123,
"nameGeneratorExtraText": "<string>",
"readyForExport": True,
"categories": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
],
"customFields": [
{
"id": 123,
"value": {
"id": 123,
"customId": "<string>",
"value": "<string>"
},
"values": [
{
"id": 123,
"customId": "<string>",
"value": "<string>"
}
]
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
customId: '<string>',
description: '<string>',
brand: {
id: 123,
customId: '<string>',
name: '<string>',
contactPersonId: '<string>',
contactPersonName: '<string>'
},
supplier: {
id: 123,
customId: '<string>',
name: '<string>',
contactPersonId: '<string>',
contactPersonName: '<string>'
},
companyContactPerson: {id: '<string>', name: '<string>'},
supplierContactPerson: {id: '<string>', name: '<string>'},
defaultQty: 123,
nameGeneratorExtraText: '<string>',
readyForExport: true,
categories: [{id: 123, customId: '<string>', name: '<string>'}],
customFields: [
{
id: 123,
value: {id: 123, customId: '<string>', value: '<string>'},
values: [{id: 123, customId: '<string>', value: '<string>'}]
}
]
})
};
fetch('https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'customId' => '<string>',
'description' => '<string>',
'brand' => [
'id' => 123,
'customId' => '<string>',
'name' => '<string>',
'contactPersonId' => '<string>',
'contactPersonName' => '<string>'
],
'supplier' => [
'id' => 123,
'customId' => '<string>',
'name' => '<string>',
'contactPersonId' => '<string>',
'contactPersonName' => '<string>'
],
'companyContactPerson' => [
'id' => '<string>',
'name' => '<string>'
],
'supplierContactPerson' => [
'id' => '<string>',
'name' => '<string>'
],
'defaultQty' => 123,
'nameGeneratorExtraText' => '<string>',
'readyForExport' => true,
'categories' => [
[
'id' => 123,
'customId' => '<string>',
'name' => '<string>'
]
],
'customFields' => [
[
'id' => 123,
'value' => [
'id' => 123,
'customId' => '<string>',
'value' => '<string>'
],
'values' => [
[
'id' => 123,
'customId' => '<string>',
'value' => '<string>'
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"customId\": \"<string>\",\n \"description\": \"<string>\",\n \"brand\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"supplier\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"companyContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"supplierContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"defaultQty\": 123,\n \"nameGeneratorExtraText\": \"<string>\",\n \"readyForExport\": true,\n \"categories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"customFields\": [\n {\n \"id\": 123,\n \"value\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"values\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n }\n ]\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"customId\": \"<string>\",\n \"description\": \"<string>\",\n \"brand\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"supplier\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"companyContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"supplierContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"defaultQty\": 123,\n \"nameGeneratorExtraText\": \"<string>\",\n \"readyForExport\": true,\n \"categories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"customFields\": [\n {\n \"id\": 123,\n \"value\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"values\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n }\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"customId\": \"<string>\",\n \"description\": \"<string>\",\n \"brand\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"supplier\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"companyContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"supplierContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"defaultQty\": 123,\n \"nameGeneratorExtraText\": \"<string>\",\n \"readyForExport\": true,\n \"categories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"customFields\": [\n {\n \"id\": 123,\n \"value\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"values\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n }\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"code": "<string>",
"data": {
"id": 123,
"name": "<string>",
"customId": "<string>",
"description": "<string>",
"brand": {
"id": 123,
"name": "<string>"
},
"organization": {
"id": 123,
"name": "<string>"
},
"supplier": {
"id": 123,
"name": "<string>"
},
"companyContactPerson": {
"id": "<string>",
"name": "<string>"
},
"supplierContactPerson": {
"id": "<string>",
"name": "<string>"
},
"adminUnit": {
"id": 123,
"name": "<string>",
"properties": [
"<string>"
]
},
"logo": {
"id": "<string>",
"url": "<string>"
},
"lastUpdated": "2023-11-07T05:31:56Z",
"deadline": "2023-11-07T05:31:56Z",
"etd": "2023-11-07T05:31:56Z",
"erpItemId": "<string>",
"defaultQty": 123,
"nameGeneratorExtraText": "<string>",
"physicalReferenceNumber": "<string>",
"categories": [
{
"id": 123,
"name": "<string>",
"state": "active",
"usedInItems": 123,
"beginDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"properties": [
"<string>"
]
}
],
"customFields": [
{
"id": 123,
"customId1": "<string>",
"type": "<string>",
"name": "<string>",
"value": {
"id": 123,
"value": "<string>",
"customId": "<string>"
},
"values": [
{
"id": 123,
"value": "<string>",
"customId": "<string>"
}
],
"perColorValues": [
{
"styleColorId": 123,
"value": {
"id": 123,
"value": "<string>",
"customId": "<string>"
},
"values": [
{
"id": 123,
"value": "<string>",
"customId": "<string>"
}
]
}
]
}
],
"properties": [
"<string>"
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}Updates a single item by ID (full replace).
Updates an item owned by the current organization. PUT is a full replace: every field on the request body is written to the database verbatim. The id comes from the route; the body carries none (sending one is a 400). Required fields (name, brand, companyContactPerson) must be present and non-null; missing or null returns 400. description (≤1000), userDefinedId (≤100), and name (≤200) are length-bounded; defaultQty must be non-null and ≥0. Nullable scalar fields clear the column when sent as null. Collections (categories, customFields) are written verbatim: an explicit list replaces the association set, an empty array or an omitted/null field clears the set — there is no preserve-on-null semantics (that is PATCH, dl-59708). Toggling readyForExport from false to true triggers the mandatory-custom-field check (dl-58912); when readyForExport stays true and the request supplies customFields, the same check fires to prevent silent removal of mandatory fields. Cross-organization access returns 403 (an authenticated-but-not-authorized denial), matching GET/PATCH.
curl --request PUT \
--url https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"customId": "<string>",
"description": "<string>",
"brand": {
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
},
"supplier": {
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
},
"companyContactPerson": {
"id": "<string>",
"name": "<string>"
},
"supplierContactPerson": {
"id": "<string>",
"name": "<string>"
},
"defaultQty": 123,
"nameGeneratorExtraText": "<string>",
"readyForExport": true,
"categories": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
],
"customFields": [
{
"id": 123,
"value": {
"id": 123,
"customId": "<string>",
"value": "<string>"
},
"values": [
{
"id": 123,
"customId": "<string>",
"value": "<string>"
}
]
}
]
}
'import requests
url = "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}"
payload = {
"name": "<string>",
"customId": "<string>",
"description": "<string>",
"brand": {
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
},
"supplier": {
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
},
"companyContactPerson": {
"id": "<string>",
"name": "<string>"
},
"supplierContactPerson": {
"id": "<string>",
"name": "<string>"
},
"defaultQty": 123,
"nameGeneratorExtraText": "<string>",
"readyForExport": True,
"categories": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
],
"customFields": [
{
"id": 123,
"value": {
"id": 123,
"customId": "<string>",
"value": "<string>"
},
"values": [
{
"id": 123,
"customId": "<string>",
"value": "<string>"
}
]
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
customId: '<string>',
description: '<string>',
brand: {
id: 123,
customId: '<string>',
name: '<string>',
contactPersonId: '<string>',
contactPersonName: '<string>'
},
supplier: {
id: 123,
customId: '<string>',
name: '<string>',
contactPersonId: '<string>',
contactPersonName: '<string>'
},
companyContactPerson: {id: '<string>', name: '<string>'},
supplierContactPerson: {id: '<string>', name: '<string>'},
defaultQty: 123,
nameGeneratorExtraText: '<string>',
readyForExport: true,
categories: [{id: 123, customId: '<string>', name: '<string>'}],
customFields: [
{
id: 123,
value: {id: 123, customId: '<string>', value: '<string>'},
values: [{id: 123, customId: '<string>', value: '<string>'}]
}
]
})
};
fetch('https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'customId' => '<string>',
'description' => '<string>',
'brand' => [
'id' => 123,
'customId' => '<string>',
'name' => '<string>',
'contactPersonId' => '<string>',
'contactPersonName' => '<string>'
],
'supplier' => [
'id' => 123,
'customId' => '<string>',
'name' => '<string>',
'contactPersonId' => '<string>',
'contactPersonName' => '<string>'
],
'companyContactPerson' => [
'id' => '<string>',
'name' => '<string>'
],
'supplierContactPerson' => [
'id' => '<string>',
'name' => '<string>'
],
'defaultQty' => 123,
'nameGeneratorExtraText' => '<string>',
'readyForExport' => true,
'categories' => [
[
'id' => 123,
'customId' => '<string>',
'name' => '<string>'
]
],
'customFields' => [
[
'id' => 123,
'value' => [
'id' => 123,
'customId' => '<string>',
'value' => '<string>'
],
'values' => [
[
'id' => 123,
'customId' => '<string>',
'value' => '<string>'
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"customId\": \"<string>\",\n \"description\": \"<string>\",\n \"brand\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"supplier\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"companyContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"supplierContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"defaultQty\": 123,\n \"nameGeneratorExtraText\": \"<string>\",\n \"readyForExport\": true,\n \"categories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"customFields\": [\n {\n \"id\": 123,\n \"value\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"values\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n }\n ]\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"customId\": \"<string>\",\n \"description\": \"<string>\",\n \"brand\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"supplier\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"companyContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"supplierContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"defaultQty\": 123,\n \"nameGeneratorExtraText\": \"<string>\",\n \"readyForExport\": true,\n \"categories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"customFields\": [\n {\n \"id\": 123,\n \"value\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"values\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n }\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items/{itemId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"customId\": \"<string>\",\n \"description\": \"<string>\",\n \"brand\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"supplier\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n },\n \"companyContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"supplierContactPerson\": {\n \"id\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"defaultQty\": 123,\n \"nameGeneratorExtraText\": \"<string>\",\n \"readyForExport\": true,\n \"categories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"customFields\": [\n {\n \"id\": 123,\n \"value\": {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"values\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"value\": \"<string>\"\n }\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"code": "<string>",
"data": {
"id": 123,
"name": "<string>",
"customId": "<string>",
"description": "<string>",
"brand": {
"id": 123,
"name": "<string>"
},
"organization": {
"id": 123,
"name": "<string>"
},
"supplier": {
"id": 123,
"name": "<string>"
},
"companyContactPerson": {
"id": "<string>",
"name": "<string>"
},
"supplierContactPerson": {
"id": "<string>",
"name": "<string>"
},
"adminUnit": {
"id": 123,
"name": "<string>",
"properties": [
"<string>"
]
},
"logo": {
"id": "<string>",
"url": "<string>"
},
"lastUpdated": "2023-11-07T05:31:56Z",
"deadline": "2023-11-07T05:31:56Z",
"etd": "2023-11-07T05:31:56Z",
"erpItemId": "<string>",
"defaultQty": 123,
"nameGeneratorExtraText": "<string>",
"physicalReferenceNumber": "<string>",
"categories": [
{
"id": 123,
"name": "<string>",
"state": "active",
"usedInItems": 123,
"beginDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"properties": [
"<string>"
]
}
],
"customFields": [
{
"id": 123,
"customId1": "<string>",
"type": "<string>",
"name": "<string>",
"value": {
"id": 123,
"value": "<string>",
"customId": "<string>"
},
"values": [
{
"id": 123,
"value": "<string>",
"customId": "<string>"
}
],
"perColorValues": [
{
"styleColorId": 123,
"value": {
"id": 123,
"value": "<string>",
"customId": "<string>"
},
"values": [
{
"id": 123,
"value": "<string>",
"customId": "<string>"
}
]
}
]
}
],
"properties": [
"<string>"
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}Headers
Path Parameters
Unique identifier of the item to update. The id is taken from the route; the request body carries none.
Body
Display name of the item. Required and cannot be cleared.
The customer-defined item number. Sent as null clears the stored value.
Free-text description of the item. Sent as null clears the stored value.
The brand to associate with the item. Only the brand id is written; other fields are echoed back.
Show child attributes
Show child attributes
The supplier organization to assign to the item. Only the supplier id is written; other fields are echoed back.
Show child attributes
Show child attributes
The brand-side contact person for the item, identified by user id.
Show child attributes
Show child attributes
The supplier-side contact person for the item, identified by user id.
Show child attributes
Show child attributes
Default consumption quantity when the item is added to a style's item list. Must be non-null and at least zero.
Extra text for the item number generator when a generation rule is configured. Sent as null clears the stored value.
When true, mandatory custom fields are validated and the item is marked ready for export. Toggling from false to true triggers that check.
Category associations for the item. A populated list replaces the set; an empty or null list clears all categories.
Show child attributes
Show child attributes
Custom field values for the item. Single-value fields use value; multi-select fields use values.
Show child attributes
Show child attributes
Response
OK
The coarse outcome of the request, indicating whether it succeeded or failed.
success, error The specific machine-readable outcome code, such as ok on success or the most specific error code on failure. Always lowercase on the wire.
The response payload, either a single object for a by-id read or an array for a bulk operation. Omitted from the body when there is no value.
Show child attributes
Show child attributes