Skip to main content

Create custom field definition

POST 

/api/v2/custom-field-definitions

Creates a new custom field definition for the given featureType. The apiName must be unique within the featureType. For dataType=ENUM the options array is accepted as an optional creation seed (each label becomes an option row); afterwards options are managed through the paginated /options sub-resource. EAV-backed featureTypes (product-models, product-variants, manufacturing-custom-fields) accept dataType COLOR, an optional companyId (defaults to the caller's current company) and store into ges_customfield until the ADR-003 Fase 3 migration. Business logic runs in the legacy WAR via the internal commands gateway.

Request​

Responses​

Custom field definition created