Set a custom column value

Sets the value of a custom column on a specific source record (identified by source_id
for a transaction this is its accounting_ledger_tx_id). The caller must belong to the
record's company. For option-type columns, value must be one of the column's option keys.

Returns the updated source record with its recomputed custom-column values.

Note: only an unknown custom_column_id yields a 404. An unknown/mismatched
source_id is not currently guarded and results in a 500 (server error) rather than a
404 — this is a known server-side bug, not the intended contract.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Payload to set the value of a custom column on a specific source record (e.g. a transaction).
The custom_column_id identifies the column and source_id the record it is being set on;
the column's applicable model classes are searched to locate the record.

uuid
required

The custom column whose value is being set.

uuid
required

The id of the record the value is set on (e.g. a transaction's accounting_ledger_tx_id).

string | null

The value to store. For option-type columns this must be one of the column's option keys.

Headers
uuid
required

UUID of the company on whose behalf the request is made. Required for every Accounting endpoint.
See The company-id header for details on how to obtain
a value for this header and the error responses to expect when it is missing or invalid.

Responses

401

Unauthorized

404

Custom column not found (unknown custom_column_id).

500

Server error. Returned when source_id is unknown/mismatched: it is not currently
guarded, so the lookup on a nil record raises instead of returning a 404. This is a
known server-side bug, not the intended contract.

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