v1

latestOpenAPI 3.0.1MIT2026-07-261190449.2 KB
Custom Fields

Update Custom Field

Update an existing custom field for the organization. Custom fields can be used to store additional information on transactions.

put/transactions/custom-fields/{customFieldId}

Path parameters

customFieldIdstring uuid required

The unique identifier of the custom field to update.

Request body

labelstring required

The label of the custom field, displayed in the UI.

descriptionstring

The description of the custom field, displayed in the UI, optional.

defaultValuestring

The default value of the custom field, optional.

status'ACTIVE' | 'INACTIVE' required

The status of the custom field. Only an active custom field can be used.

mandatoryOnAutomationboolean required

If set to true, this means this custom field is mandatory to be filled with a default value on the level of the automation, here CARD.

mandatoryForExportboolean required

If set to true, this means this custom field is mandatory to be filled on every transaction which should be exported with the Pliant accounting export.

visibility'ADMIN_AND_CARDHOLDER' | 'ADMIN_ONLY' | 'NOWHERE'

Controls where the values of this custom field are visible. ADMIN_AND_CARDHOLDER makes the values visible to both admins and cardholders. ADMIN_ONLY makes the values visible only to admins. NOWHERE hides the values from both admins and cardholders. Optional; if omitted, the existing value is preserved.

Response

Ok