Update a custom field rule

Update details about an existing custom field rule.

When you set conditions or visibilityEntries, the list replaces the current list in full. A list that you leave out stays as it is.

Path Params
string
required
length ≥ 1

Short UUID (ttr_...), BILL-generated ID, or bare UUID of the custom field rule

Body Params

Update a custom field rule

conditions
array of objects

Conditions of the rule. When set, the list replaces all current conditions of the rule. An empty list matches everything.

conditions
visibilityEntries
array of objects

Custom fields that the rule shows. When set, the list replaces all current entries of the rule and must have at least one entry.

visibilityEntries
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