post
https://api.duodeal.app/api/quotation//block
Adds a new block to a quotation (quotation-v2 builder). The server builds the block
with its default envelope and default data payload for the given type (mirror of
the front-end registry), so only the type is required. Use update-quotation-block
afterwards to fill in the block content.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Quotation ID |
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Block type to create (see allowed types below) |
position | integer | No | 0-based index where to insert the block; omitted = appended at the end |
Allowed type values: header, contacts, wysiwyg, html, pricing,
customfields, attachments, legalnotice, paymentschedule, pdfviewer,
youtube, faq, pptx, googleslides, canva, gallery, accept, signstamp,
pagebreak.
Response
201 Created: Returns the created block object (with its generatedid)400 Bad Request: Invalid or missingtype(response lists the allowed types)401 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…
201Resource created
400Bad request
401Unauthorized
