Creates one or more style custom field definitions.
curl --request POST \
--url http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields \
--header 'Content-Type: application/json' \
--data '
[
{
"name": "<string>",
"userDefinedId": "<string>",
"type": "<unknown>",
"position": 123,
"state": "<unknown>",
"internalOnly": true,
"isMandatory": true,
"isSupplierEditable": true,
"isMultiLine": true,
"isSortByAllowedValueId": true,
"diffPerColor": true,
"diffPerSize": true,
"useInThumbnailViewGroupBy": true,
"maxChar": 123,
"allowedDecimals": 123,
"numericVariantCalculationFormula": "<unknown>",
"parentCustomFieldId": 123,
"allowedValues": [
{
"id": 123,
"value": "<string>",
"userDefinedId": "<string>",
"isDefaultValue": true,
"parentAllowedValueId": 123
}
],
"associatedBrands": [
{
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
}
],
"associatedGroups": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
],
"associatedStyleCategories": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
]
}
]
'import requests
url = "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields"
payload = [
{
"name": "<string>",
"userDefinedId": "<string>",
"type": "<unknown>",
"position": 123,
"state": "<unknown>",
"internalOnly": True,
"isMandatory": True,
"isSupplierEditable": True,
"isMultiLine": True,
"isSortByAllowedValueId": True,
"diffPerColor": True,
"diffPerSize": True,
"useInThumbnailViewGroupBy": True,
"maxChar": 123,
"allowedDecimals": 123,
"numericVariantCalculationFormula": "<unknown>",
"parentCustomFieldId": 123,
"allowedValues": [
{
"id": 123,
"value": "<string>",
"userDefinedId": "<string>",
"isDefaultValue": True,
"parentAllowedValueId": 123
}
],
"associatedBrands": [
{
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
}
],
"associatedGroups": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
],
"associatedStyleCategories": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
]
}
]
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify([
{
name: '<string>',
userDefinedId: '<string>',
type: '<unknown>',
position: 123,
state: '<unknown>',
internalOnly: true,
isMandatory: true,
isSupplierEditable: true,
isMultiLine: true,
isSortByAllowedValueId: true,
diffPerColor: true,
diffPerSize: true,
useInThumbnailViewGroupBy: true,
maxChar: 123,
allowedDecimals: 123,
numericVariantCalculationFormula: '<unknown>',
parentCustomFieldId: 123,
allowedValues: [
{
id: 123,
value: '<string>',
userDefinedId: '<string>',
isDefaultValue: true,
parentAllowedValueId: 123
}
],
associatedBrands: [
{
id: 123,
customId: '<string>',
name: '<string>',
contactPersonId: '<string>',
contactPersonName: '<string>'
}
],
associatedGroups: [{id: 123, customId: '<string>', name: '<string>'}],
associatedStyleCategories: [{id: 123, customId: '<string>', name: '<string>'}]
}
])
};
fetch('http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields', 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 => "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'name' => '<string>',
'userDefinedId' => '<string>',
'type' => '<unknown>',
'position' => 123,
'state' => '<unknown>',
'internalOnly' => true,
'isMandatory' => true,
'isSupplierEditable' => true,
'isMultiLine' => true,
'isSortByAllowedValueId' => true,
'diffPerColor' => true,
'diffPerSize' => true,
'useInThumbnailViewGroupBy' => true,
'maxChar' => 123,
'allowedDecimals' => 123,
'numericVariantCalculationFormula' => '<unknown>',
'parentCustomFieldId' => 123,
'allowedValues' => [
[
'id' => 123,
'value' => '<string>',
'userDefinedId' => '<string>',
'isDefaultValue' => true,
'parentAllowedValueId' => 123
]
],
'associatedBrands' => [
[
'id' => 123,
'customId' => '<string>',
'name' => '<string>',
'contactPersonId' => '<string>',
'contactPersonName' => '<string>'
]
],
'associatedGroups' => [
[
'id' => 123,
'customId' => '<string>',
'name' => '<string>'
]
],
'associatedStyleCategories' => [
[
'id' => 123,
'customId' => '<string>',
'name' => '<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 := "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields"
payload := strings.NewReader("[\n {\n \"name\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"type\": \"<unknown>\",\n \"position\": 123,\n \"state\": \"<unknown>\",\n \"internalOnly\": true,\n \"isMandatory\": true,\n \"isSupplierEditable\": true,\n \"isMultiLine\": true,\n \"isSortByAllowedValueId\": true,\n \"diffPerColor\": true,\n \"diffPerSize\": true,\n \"useInThumbnailViewGroupBy\": true,\n \"maxChar\": 123,\n \"allowedDecimals\": 123,\n \"numericVariantCalculationFormula\": \"<unknown>\",\n \"parentCustomFieldId\": 123,\n \"allowedValues\": [\n {\n \"id\": 123,\n \"value\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"isDefaultValue\": true,\n \"parentAllowedValueId\": 123\n }\n ],\n \"associatedBrands\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n }\n ],\n \"associatedGroups\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"associatedStyleCategories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]")
req, _ := http.NewRequest("POST", 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.post("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields")
.header("Content-Type", "application/json")
.body("[\n {\n \"name\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"type\": \"<unknown>\",\n \"position\": 123,\n \"state\": \"<unknown>\",\n \"internalOnly\": true,\n \"isMandatory\": true,\n \"isSupplierEditable\": true,\n \"isMultiLine\": true,\n \"isSortByAllowedValueId\": true,\n \"diffPerColor\": true,\n \"diffPerSize\": true,\n \"useInThumbnailViewGroupBy\": true,\n \"maxChar\": 123,\n \"allowedDecimals\": 123,\n \"numericVariantCalculationFormula\": \"<unknown>\",\n \"parentCustomFieldId\": 123,\n \"allowedValues\": [\n {\n \"id\": 123,\n \"value\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"isDefaultValue\": true,\n \"parentAllowedValueId\": 123\n }\n ],\n \"associatedBrands\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n }\n ],\n \"associatedGroups\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"associatedStyleCategories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"name\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"type\": \"<unknown>\",\n \"position\": 123,\n \"state\": \"<unknown>\",\n \"internalOnly\": true,\n \"isMandatory\": true,\n \"isSupplierEditable\": true,\n \"isMultiLine\": true,\n \"isSortByAllowedValueId\": true,\n \"diffPerColor\": true,\n \"diffPerSize\": true,\n \"useInThumbnailViewGroupBy\": true,\n \"maxChar\": 123,\n \"allowedDecimals\": 123,\n \"numericVariantCalculationFormula\": \"<unknown>\",\n \"parentCustomFieldId\": 123,\n \"allowedValues\": [\n {\n \"id\": 123,\n \"value\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"isDefaultValue\": true,\n \"parentAllowedValueId\": 123\n }\n ],\n \"associatedBrands\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n }\n ],\n \"associatedGroups\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"associatedStyleCategories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]"
response = http.request(request)
puts response.read_body{
"status": "<unknown>",
"code": "<string>",
"data": [
{
"id": 123,
"name": "<string>",
"userDefinedId": "<string>",
"type": "<unknown>",
"state": "<unknown>",
"position": 123,
"maxChar": 123,
"allowedDecimals": 123,
"numericVariantCalculationFormula": "<unknown>",
"parentCustomFieldId": 123,
"parentCustomFieldName": "<string>",
"allowedValues": [
{
"id": 123,
"value": "<string>",
"userDefinedId": "<string>",
"parentAllowedValueId": 123,
"properties": [
"<string>"
]
}
],
"associatedBrands": [
{
"id": 123,
"name": "<string>"
}
],
"associatedGroups": [
{
"id": 123,
"name": "<string>"
}
],
"associatedStyleCategories": [
{
"id": 123,
"name": "<string>"
}
],
"properties": [
"<string>"
]
}
]
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}StyleCustomFields
Creates one or more style custom field definitions.
Body is always an array, even for a single item. All items are persisted in a single transaction (all-or-nothing). Capped at 200 items per request.
POST
/
api
/
style-custom-fields
Creates one or more style custom field definitions.
curl --request POST \
--url http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields \
--header 'Content-Type: application/json' \
--data '
[
{
"name": "<string>",
"userDefinedId": "<string>",
"type": "<unknown>",
"position": 123,
"state": "<unknown>",
"internalOnly": true,
"isMandatory": true,
"isSupplierEditable": true,
"isMultiLine": true,
"isSortByAllowedValueId": true,
"diffPerColor": true,
"diffPerSize": true,
"useInThumbnailViewGroupBy": true,
"maxChar": 123,
"allowedDecimals": 123,
"numericVariantCalculationFormula": "<unknown>",
"parentCustomFieldId": 123,
"allowedValues": [
{
"id": 123,
"value": "<string>",
"userDefinedId": "<string>",
"isDefaultValue": true,
"parentAllowedValueId": 123
}
],
"associatedBrands": [
{
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
}
],
"associatedGroups": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
],
"associatedStyleCategories": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
]
}
]
'import requests
url = "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields"
payload = [
{
"name": "<string>",
"userDefinedId": "<string>",
"type": "<unknown>",
"position": 123,
"state": "<unknown>",
"internalOnly": True,
"isMandatory": True,
"isSupplierEditable": True,
"isMultiLine": True,
"isSortByAllowedValueId": True,
"diffPerColor": True,
"diffPerSize": True,
"useInThumbnailViewGroupBy": True,
"maxChar": 123,
"allowedDecimals": 123,
"numericVariantCalculationFormula": "<unknown>",
"parentCustomFieldId": 123,
"allowedValues": [
{
"id": 123,
"value": "<string>",
"userDefinedId": "<string>",
"isDefaultValue": True,
"parentAllowedValueId": 123
}
],
"associatedBrands": [
{
"id": 123,
"customId": "<string>",
"name": "<string>",
"contactPersonId": "<string>",
"contactPersonName": "<string>"
}
],
"associatedGroups": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
],
"associatedStyleCategories": [
{
"id": 123,
"customId": "<string>",
"name": "<string>"
}
]
}
]
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify([
{
name: '<string>',
userDefinedId: '<string>',
type: '<unknown>',
position: 123,
state: '<unknown>',
internalOnly: true,
isMandatory: true,
isSupplierEditable: true,
isMultiLine: true,
isSortByAllowedValueId: true,
diffPerColor: true,
diffPerSize: true,
useInThumbnailViewGroupBy: true,
maxChar: 123,
allowedDecimals: 123,
numericVariantCalculationFormula: '<unknown>',
parentCustomFieldId: 123,
allowedValues: [
{
id: 123,
value: '<string>',
userDefinedId: '<string>',
isDefaultValue: true,
parentAllowedValueId: 123
}
],
associatedBrands: [
{
id: 123,
customId: '<string>',
name: '<string>',
contactPersonId: '<string>',
contactPersonName: '<string>'
}
],
associatedGroups: [{id: 123, customId: '<string>', name: '<string>'}],
associatedStyleCategories: [{id: 123, customId: '<string>', name: '<string>'}]
}
])
};
fetch('http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields', 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 => "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'name' => '<string>',
'userDefinedId' => '<string>',
'type' => '<unknown>',
'position' => 123,
'state' => '<unknown>',
'internalOnly' => true,
'isMandatory' => true,
'isSupplierEditable' => true,
'isMultiLine' => true,
'isSortByAllowedValueId' => true,
'diffPerColor' => true,
'diffPerSize' => true,
'useInThumbnailViewGroupBy' => true,
'maxChar' => 123,
'allowedDecimals' => 123,
'numericVariantCalculationFormula' => '<unknown>',
'parentCustomFieldId' => 123,
'allowedValues' => [
[
'id' => 123,
'value' => '<string>',
'userDefinedId' => '<string>',
'isDefaultValue' => true,
'parentAllowedValueId' => 123
]
],
'associatedBrands' => [
[
'id' => 123,
'customId' => '<string>',
'name' => '<string>',
'contactPersonId' => '<string>',
'contactPersonName' => '<string>'
]
],
'associatedGroups' => [
[
'id' => 123,
'customId' => '<string>',
'name' => '<string>'
]
],
'associatedStyleCategories' => [
[
'id' => 123,
'customId' => '<string>',
'name' => '<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 := "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields"
payload := strings.NewReader("[\n {\n \"name\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"type\": \"<unknown>\",\n \"position\": 123,\n \"state\": \"<unknown>\",\n \"internalOnly\": true,\n \"isMandatory\": true,\n \"isSupplierEditable\": true,\n \"isMultiLine\": true,\n \"isSortByAllowedValueId\": true,\n \"diffPerColor\": true,\n \"diffPerSize\": true,\n \"useInThumbnailViewGroupBy\": true,\n \"maxChar\": 123,\n \"allowedDecimals\": 123,\n \"numericVariantCalculationFormula\": \"<unknown>\",\n \"parentCustomFieldId\": 123,\n \"allowedValues\": [\n {\n \"id\": 123,\n \"value\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"isDefaultValue\": true,\n \"parentAllowedValueId\": 123\n }\n ],\n \"associatedBrands\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n }\n ],\n \"associatedGroups\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"associatedStyleCategories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]")
req, _ := http.NewRequest("POST", 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.post("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields")
.header("Content-Type", "application/json")
.body("[\n {\n \"name\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"type\": \"<unknown>\",\n \"position\": 123,\n \"state\": \"<unknown>\",\n \"internalOnly\": true,\n \"isMandatory\": true,\n \"isSupplierEditable\": true,\n \"isMultiLine\": true,\n \"isSortByAllowedValueId\": true,\n \"diffPerColor\": true,\n \"diffPerSize\": true,\n \"useInThumbnailViewGroupBy\": true,\n \"maxChar\": 123,\n \"allowedDecimals\": 123,\n \"numericVariantCalculationFormula\": \"<unknown>\",\n \"parentCustomFieldId\": 123,\n \"allowedValues\": [\n {\n \"id\": 123,\n \"value\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"isDefaultValue\": true,\n \"parentAllowedValueId\": 123\n }\n ],\n \"associatedBrands\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n }\n ],\n \"associatedGroups\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"associatedStyleCategories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/style-custom-fields")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"name\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"type\": \"<unknown>\",\n \"position\": 123,\n \"state\": \"<unknown>\",\n \"internalOnly\": true,\n \"isMandatory\": true,\n \"isSupplierEditable\": true,\n \"isMultiLine\": true,\n \"isSortByAllowedValueId\": true,\n \"diffPerColor\": true,\n \"diffPerSize\": true,\n \"useInThumbnailViewGroupBy\": true,\n \"maxChar\": 123,\n \"allowedDecimals\": 123,\n \"numericVariantCalculationFormula\": \"<unknown>\",\n \"parentCustomFieldId\": 123,\n \"allowedValues\": [\n {\n \"id\": 123,\n \"value\": \"<string>\",\n \"userDefinedId\": \"<string>\",\n \"isDefaultValue\": true,\n \"parentAllowedValueId\": 123\n }\n ],\n \"associatedBrands\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\",\n \"contactPersonId\": \"<string>\",\n \"contactPersonName\": \"<string>\"\n }\n ],\n \"associatedGroups\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"associatedStyleCategories\": [\n {\n \"id\": 123,\n \"customId\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]"
response = http.request(request)
puts response.read_body{
"status": "<unknown>",
"code": "<string>",
"data": [
{
"id": 123,
"name": "<string>",
"userDefinedId": "<string>",
"type": "<unknown>",
"state": "<unknown>",
"position": 123,
"maxChar": 123,
"allowedDecimals": 123,
"numericVariantCalculationFormula": "<unknown>",
"parentCustomFieldId": 123,
"parentCustomFieldName": "<string>",
"allowedValues": [
{
"id": 123,
"value": "<string>",
"userDefinedId": "<string>",
"parentAllowedValueId": 123,
"properties": [
"<string>"
]
}
],
"associatedBrands": [
{
"id": 123,
"name": "<string>"
}
],
"associatedGroups": [
{
"id": 123,
"name": "<string>"
}
],
"associatedStyleCategories": [
{
"id": 123,
"name": "<string>"
}
],
"properties": [
"<string>"
]
}
]
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"operation": "<string>",
"total_items": 123,
"failed_items": 123,
"summary": "<string>",
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}Body
application/jsontext/jsonapplication/*+json
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I