Document Line Service

Back

Overview

Document lines represent individual items within a document (sales order, credit note, quote, etc.). Each line captures product, quantity, pricing, and fulfillment details.

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


Endpoints

Back to Sales

GET

/api/v1/DocumentLines/document/{documentId}

Returns all lines for a specific document.

Route parameters:

Behavior:

Response:

Authorization:


GET

/api/v1/DocumentLines/{id}

Returns a single document line by its numeric identifier.

Route parameters:

Behavior:

Response:

Authorization:


POST

/api/v1/DocumentLines

Creates a new document line.

Request body (DocumentLineModel):

Behavior:

Response:

Authorization:


PUT

/api/v1/DocumentLines/{id}

Updates an existing document line.

Route parameters:

Request body (DocumentUpdate):

Behavior:

Response:

Authorization:


DELETE

/api/v1/DocumentLines/{id}

Deletes a document line by its identifier.

Route parameters:

Behavior:

Response:

Authorization:


DocumentLineModel Fields

Returned by GET and POST endpoints:


Notes