get
https://api.duodeal.app/api/quotation-lines/quote/
Retrieves all lines for a specific quotation, ordered by weight.
This is the recommended endpoint to get all lines of a quotation in their correct display order.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Quotation unique identifier |
Response Fields
Returns an array of quotation lines with the following fields:
| Field | Type | Description |
|---|---|---|
id | integer | Line unique identifier |
lineType | string | Line type: normal, title, or subtotal |
title | string | Section title (for title lines) |
productTitle | string | Custom product title override |
description | string | Line description (HTML) |
rawDescription | string | Line description (plain text) |
quantity | float | Quantity |
unitPrice | float | Unit price (excl. tax) |
coef | float | Coefficient/multiplier |
discount | float | Discount value |
discountType | string | Discount type: percentage or amount |
totalHt | float | Total excl. tax (calculated) |
totalTtc | float | Total incl. tax (calculated) |
weight | integer | Sort order/position |
option | boolean | Whether line is optional |
hide | boolean | Whether line is hidden |
product | object | Associated product |
tax | object | Applied tax rate |
unity | object | Unit of measure |
medias | array | Associated media files |
parent | object | Parent line (for nested lines) |
customFields | object | Custom field values |
Response
200 OK: Returns array of quotation lines401 Unauthorized: Invalid or missing API key404 Not Found: Quotation not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Successful response
401Unauthorized
