Update classification (partial)
Update specific fields on a classification. Send only the fields you want to change — anything you don’t send stays as it is. Use null on parent_id to remove a parent.
Example — rename and deactivate a classification:
{"name": "Department (legacy)", "is_active": false}
Selections (classification lines)
Omitting selections preserves the existing lines. Sending the field applies it as-is: lines whose id you include are kept (and updated with whatever values you send), and lines whose id you omit are deleted. Sending [] removes every line. Adding a new line means sending it without an id:
{"selections": [
{"id": 42, "name": "Engineering", "is_active": true, "parent_id": null},
{"name": "Operations", "is_active": true, "parent_id": null}
]}
Required-for-records
Omitting required_for_records preserves existing associations. Sending the field replaces the full set; sending [] removes them all:
{"required_for_records": ["invoice", "bill"]}
Lines that are in use elsewhere can’t be deleted; you’ll get a 422 back listing which ones.
Documentation Index
Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
Body
Partial update payload for PATCH /public/classifications/{id}/.
Every field is optional: send only the fields you want to change. Unset fields are left untouched on the existing record.
Note on list fields:
selectionsabsent → existing classification lines are preserved. Sending[]deletes all existing lines.required_for_recordsabsent → existing record-type associations are preserved. Sending[]removes them all.
2 - 128purchase_order, sales_order, cash_sale, invoice, bill, direct_expense, vendor_credit, journal_entry, intercompany_journal_entry, customer_credit, customer_deposit Response
OK
purchase_order, sales_order, cash_sale, invoice, bill, direct_expense, vendor_credit, journal_entry, intercompany_journal_entry, customer_credit, customer_deposit 128Schema for audit actor information.
Schema for audit actor information.
