Expense categories

Update an expense category

Only the fields sent are changed.

PATCH
/api/v1/expense-categories/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/api/v1/expense-categories/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "name": "Office Expenses",
  "description": "This is to be used for all official expenses during working hours",
  "businessId": "98d34e0c-69dc-4683-9bbe-6e6921ed155c",
  "status": "active",
  "limit": 100000,
  "createdAt": "2024-09-24T16:07:49.891Z",
  "updatedAt": "2024-09-24T16:07:49.891Z"
}
Empty
Empty
Empty
Empty
Empty

How is this guide?

Last updated on