Przejdź do głównej zawartości

Zaktualizuj definicję pola dodatkowego

PUT
/api/v2/AdditionalFieldsDefinitions
curl --request PUT \
--url https://twoja-instancja-additional-fields-api.enterprise.sellrocket.pl/api/v2/AdditionalFieldsDefinitions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "ownerType": "example", "fieldName": "example", "fieldDisplayName": "example", "fieldType": "example", "displayMode": "example", "predefinedValues": [ "example" ] }'

Aktualizuje istniejącą definicję pola dodatkowego.

object
ownerType
string
nullable
fieldName
string
nullable
fieldDisplayName
string
nullable
fieldType
string
nullable
displayMode
string
nullable
predefinedValues
Array<string>
nullable
Examplegenerated
{
"ownerType": "example",
"fieldName": "example",
"fieldDisplayName": "example",
"fieldType": "example",
"displayMode": "example",
"predefinedValues": [
"example"
]
}

Success

Typ treściapplication/json
boolean
Examplegenerated
true

Server Error