v1
latestOpenAPI 3.0.02026-07-2422987517.5 KBCustom column
Update a custom column
Updates a custom column. The caller must be a member of the company that owns the column. All fields are optional; only the provided fields are changed.
patch/v1/custom_columns/{custom_column_id}
Path parameters
custom_column_idstring uuid required
The id of the custom column.
Headers
company-idstring 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.
Request body
Example request
{
"label": "Centro de costo",
"internal_name": "cost_center",
"field": "options"
}Response
Custom column updated
Example response
{
"id": "c0ffee00-1111-2222-3333-444455556666",
"company_id": "550e8400-e29b-41d4-a716-446655440000",
"label": "Centro de costo",
"internal_name": "cost_center",
"field": "options",
"applicable_models": [
"transactions"
],
"options": [
{
"key": "ops",
"value": "Operaciones"
},
{
"key": "mkt",
"value": "Marketing"
}
]
}