Przejdź do głównej zawartości

Usuń definicję pola dodatkowego

DELETE
/api/v2/AdditionalFieldsDefinitions
curl --request DELETE \
--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" }'

Usuwa definicję pola wraz ze wszystkimi jego wartościami we wszystkich obiektach danego typu. Używaj ostrożnie.

[USE WITH CAUTION] It deletes field definition with the values for all objects of given OwnerType

object
ownerType
string
nullable
fieldName
string
nullable
Examplegenerated
{
"ownerType": "example",
"fieldName": "example"
}

Success

Typ treściapplication/json
boolean
Examplegenerated
true

Server Error