[beta] Create a general ledger code.

Creates a general ledger (GL) code in your organization's cost coding catalog. If the code already exists, the request replaces the description and the active state of the existing code with the values in the request. Use PATCH to change only some fields of an existing code.

Rate limit: 100 requests/min (learn more about rate limits here).

To use this endpoint, select Write Work Orders under the Work Orders category when creating or editing an API token. Learn More.

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

General ledger code to create.

string
required

The GL account code, up to 64 bytes. The code is the identity of the catalog entry and can never be changed. To use a different code, create a new code and retire the old one.

string

Human-readable description of the code, up to 256 bytes.

boolean
Defaults to true

Whether the code is active. Defaults to true. A request that sets isActive to false creates a retired code.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json