v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-212974381.2 MB
expenses

Update Public Expense

put/v2/public/expenses/{expense_id}

Path parameters

expense_idstring required

Query parameters

external_idstring nullable
workspace_idstring nullable

Headers

X-Workspace-Codestring

Request body

view_idstring nullable
form_view_idstring nullable
propertiesobject
base_currencynumber nullable

Explicit amount in the workspace base currency. When omitted, Sanka calculates the value from the expense amount and currency. A provided value takes precedence over automatic conversion.

Response

Successful Response

successtrue required
dataobject required