Accounting

Create a class

post/classes

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/classes
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Request body

codestring required

Unique within the company

namestring required
parentIdstring uuid nullable

Parent class for a subclass

Response

{ data: Class }

Changes

No recorded changes to this operation across all 4 revisions of this API.