Skip to main content
PATCH
/
public
/
v1
/
classifications
/
{classification_id}
Update classification (partial)
curl --request PATCH \
  --url https://api.dualentry.com/public/v1/classifications/{classification_id}/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "name": "<string>",
  "is_active": true,
  "selections": [
    {
      "name": "<string>",
      "is_active": true,
      "parent_id": 123,
      "id": 123
    }
  ],
  "required_for_records": [],
  "parent_id": 123
}
'
{
  "id": 123,
  "selections": [
    {
      "id": 123,
      "name": "<string>",
      "is_active": true,
      "parent_id": 123,
      "parent_name": "<string>"
    }
  ],
  "required_for_records": [],
  "parent_id": 123,
  "parent_name": "<string>",
  "name": "<string>",
  "created_by": {
    "actor_type": "<string>",
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  },
  "updated_by": {
    "actor_type": "<string>",
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  },
  "is_active": true
}

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

X-API-KEY
string
header
required

Path Parameters

classification_id
integer
required

Body

application/json

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:

  • selections absent → existing classification lines are preserved. Sending [] deletes all existing lines.
  • required_for_records absent → existing record-type associations are preserved. Sending [] removes them all.
name
string | null
Required string length: 2 - 128
is_active
boolean | null
selections
PublicSelectionItemIn · object[] | null
required_for_records
enum<string>[] | null
Available options:
purchase_order,
sales_order,
cash_sale,
invoice,
bill,
direct_expense,
vendor_credit,
journal_entry,
intercompany_journal_entry,
customer_credit,
customer_deposit
parent_id
integer | null

Response

OK

id
integer
required
selections
PublicSelectionItemOut · object[]
required
required_for_records
enum<string>[]
required
Available options:
purchase_order,
sales_order,
cash_sale,
invoice,
bill,
direct_expense,
vendor_credit,
journal_entry,
intercompany_journal_entry,
customer_credit,
customer_deposit
parent_id
integer | null
required
parent_name
string | null
required
name
string
required
Maximum string length: 128
created_by
AuditActorSchemaOut · object

Schema for audit actor information.

updated_by
AuditActorSchemaOut · object

Schema for audit actor information.

is_active
boolean
default:true
Last modified on May 28, 2026