Document Type Service

Back

Overview

Document types define the classification of a document — e.g. Sales Order, Credit Note, Quote, Purchase Order. They are referenced by every Document record via DocumentTypeId.

All operations are tenant-aware and scoped to the current tenant.


Endpoints

Back to Sales

GET

/api/v1/DocumentTypes/{id}

Returns a single document type by its numeric identifier.

Route parameters:

Behavior:

Response:

Authorization:


POST

/api/v1/DocumentTypes

Creates a new document type.

Request body (DocumentTypeModel):

Behavior:

Response:

Authorization:


PUT

/api/v1/DocumentTypes/{id}

Updates an existing document type.

Route parameters:

Request body (DocumentTypeModel):

Behavior:

Response:

Authorization:


DELETE

/api/v1/DocumentTypes/{id}

Deletes a document type by its identifier.

Route parameters:

Behavior:

Response:

Authorization:


Notes