id. Requires the Manage Journal Accounts permission. A category cannot be set as its own parent, and none of its own descendant categories can be chosen as its parent. The code must remain numeric and unique across all journal categories and accounts.Authorization: Bearer ********************curl --location --globoff --request PUT 'https://.daftara.com/api2/journal_cats/75' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"JournalCat": {
"code": "0000000",
"name": "Current Momen",
"journal_cat_id": -1,
"type": 0,
"branch_id": 1,
"entity_type": "products",
"entity_id": "2",
"disabled": 1,
"is_hidden": 0
}
}'{
"result": "successful",
"code": 200
}