Replace an expense
/expenses/{expense}Replaces every field of the expense with the multipart/form-data body. file is optional here; when
present it replaces the stored file. Fires the expense.updated webhook.
Authorization
bearerAuth Business token created in the app under Settings, Integrations, API. The token is scoped to exactly one business, has no expiry and is shown only once. Send it as Authorization: Bearer <token> together with Accept: application/json.
In: header
Path Parameters
The expense ID.
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Multipart body of PUT /expenses/{expense}. POST /expenses uses ExpenseCreateInput (StoreExpenseRequest),
which additionally requires file.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/expenses/string" \ -F currency="EUR" \ -F total="121" \ -F seller="Tiekėjas UAB" \ -F date="2026-09-12"{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "date": "2019-08-24", "total": 0, "currency": "string", "seller": "string", "created_at": 0, "updated_at": 0 }}