Create a new custom field definition.
Dropdown fields (type: dropdown) require a non-empty options.choices
array.
Documentation Index
Fetch the complete documentation index at: https://docs.joinluminous.com/llms.txt
Use this file to discover all available pages before exploring further.
Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.
Display label for the custom field. Must be unique across definitions.
255"Industry"
Data type of the custom field
number, date, string, dropdown "dropdown"
Optional configuration for the field. Required when type is dropdown
(must include a non-empty choices array).
Entity types this custom field applies to. On update this field is
required — pass an empty array to unlink all entity types.
Accepted values include logical names like sales-orders, sales-order-items,
invoices, products, companies, purchase-orders, etc. (matches the set
accepted by the internal morph-type resolver).
["companies", "products"]
Custom field definition successfully created