Update a custom field

Update details about an existing custom field.

Path Params
string
required
length ≥ 1

BILL-generated ID or UUID of the custom field

Body Params

Update a custom field (Description added)

number | null
deprecated

Deprecated. Minimum transaction amount where the custom field is required. Use a custom field rule with a TRANSACTION_AMOUNT condition and the IS_GREATER_THAN_OR_EQUAL_TO operator instead (PATCH /v3/spend/custom-field-rules/{ruleId}).

string | null

Custom field name

string | null

Custom field description

boolean | null

Set as true if the custom field can have custom values

boolean | null
deprecated

Deprecated. Set as true if the custom field is required for all budgets. The default value is false. Set required: true on the visibilityEntries entry of a custom field rule instead (PATCH /v3/spend/custom-field-rules/{ruleId}).

boolean | null
deprecated

Deprecated. Set as true if the custom field applies to all budgets. The default value is false. Setting it to false without selectedBudgetIds and requiredBudgetIds removes all budgets from the custom field. Leave it out to keep the current budgets. Use a custom field rule with type set as VISIBILITY and an empty conditions list instead (POST /v3/spend/custom-field-rules).

selectedBudgetIds
array of strings
deprecated

Deprecated. List of budgets where the custom field is available. Set the budget ID or UUID values. Use a custom field rule with a BUDGET condition and the IS_ONE_OF operator instead (PATCH /v3/spend/custom-field-rules/{ruleId}).

selectedBudgetIds
requiredBudgetIds
array of strings
deprecated

Deprecated. List of budgets where the custom field is required. Set the budget ID or UUID values. Use a custom field rule with a BUDGET condition and set required: true on its visibilityEntries entry instead (PATCH /v3/spend/custom-field-rules/{ruleId}).

requiredBudgetIds
Headers
string | null

Access token for Spend & Expense API authentication

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json