Authorization: Bearer ********************
{
"title": "string",
"subCategory": "operating-expense",
"identifier": "string",
"summary": "string",
"systemGenerated": true,
"icon": "string",
"color": "string"
}
curl --location --request PUT 'https://api.upbooks.io/api/v1/expense-category/' \
--header 'ORGANIZATION-ID: 00000' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "string",
"subCategory": "operating-expense",
"identifier": "string",
"summary": "string",
"systemGenerated": true,
"icon": "string",
"color": "string"
}'
{
"data": {
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"__v": 0,
"_id": "string",
"organizationId": "string",
"title": "string",
"systemGenerated": true,
"subCategory": "operating-expense",
"summary": "string",
"isDeleted": true,
"identifier": "office-expense",
"icon": "string",
"color": "string"
},
"message": "string"
}