curl --request PUT \
--url https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items \
--header 'Content-Type: application/json' \
--data '
[
{
"id": 123,
"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"
payload = [
{
"id": 123,
"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([
{
id: 123,
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', 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",
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([
[
'id' => 123,
'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"
payload := strings.NewReader("[\n {\n \"id\": 123,\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 }\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")
.header("Content-Type", "application/json")
.body("[\n {\n \"id\": 123,\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 }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items")
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 {\n \"id\": 123,\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 }\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": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}Updates multiple items in a single transaction (full replace).
Updates items in an all-or-nothing transaction. PUT is a full replace: every field on each request item is written verbatim. Each item must carry a positive id; duplicate ids in the batch are rejected per-index. Items not found in the current organization are reported per-index as 404; if any item is not found, the whole batch fails. Required fields (name, brand, companyContactPerson) must be present; nullable scalars clear the column when sent as null; collections sent as null or empty clear the association set. There is no preserve-on-null semantics — use PATCH (dl-59708) for partial updates. Intra-batch duplicate identifier tuples (brand+supplier+name+userDefinedId) are rejected with both indices reported. All items succeed or all roll back.
curl --request PUT \
--url https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items \
--header 'Content-Type: application/json' \
--data '
[
{
"id": 123,
"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"
payload = [
{
"id": 123,
"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([
{
id: 123,
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', 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",
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([
[
'id' => 123,
'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"
payload := strings.NewReader("[\n {\n \"id\": 123,\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 }\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")
.header("Content-Type", "application/json")
.body("[\n {\n \"id\": 123,\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 }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/items")
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 {\n \"id\": 123,\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 }\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": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}Headers
Body
Identifier of the item to update. Required on every element of a bulk update and must be unique within the batch.
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