v1
latestOpenAPI 3.0.02026-07-2422987517.5 KBTransaction label
Update a transaction label
Updates a transaction label's label and/or color. The caller must be a member of the label's company. Returns the updated label.
patch/v1/transaction_labels/{transaction_label_id}
Path parameters
transaction_label_idstring uuid required
The id of the transaction label.
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": "Reembolsable",
"color": "#22C55E"
}Response
Label updated
Example response
{
"id": "f1e2d3c4-b5a6-4978-8c9d-0e1f2a3b4c5d",
"label": "Reembolsable",
"color": "#22C55E",
"company_id": "550e8400-e29b-41d4-a716-446655440000"
}