Przejdź do głównej zawartości

Pobierz pola złożone po nazwach

POST
/api/complex-fields/v2/complex-fields/byNames
curl --request POST \
--url https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/complex-fields/v2/complex-fields/byNames \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "names": [ "example" ] }'

Zwraca definicje pól złożonych o wskazanych nazwach w jednym zapytaniu. To operacja odczytu.

object
names
Array<string>
nullable
Examplegenerated
{
"names": [
"example"
]
}

Success

object
complexFields
Array<object>
nullable
object
id
integer format: int64
name
string
nullable
type
string
nullable
description
string
nullable
caption
string
nullable
additionalFieldMapping
string
nullable
options
Array<string>
nullable