get
https://api.duodeal.app/api/quotation//block/
Retrieves a single block from a quotation's block list (quotation-v2 builder).
A quotation's body is an ordered array of blocks stored on quotation.blocks;
this endpoint returns the one whose envelope id matches :blockId.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Quotation ID |
blockId | string | Yes | Block envelope id (the stable UUID stored in blocks[].id) |
Response Fields (block envelope)
| Field | Type | Description |
|---|---|---|
id | string | Stable unique block id |
type | string | Block type key (see blocks field in "Get quotation") |
version | integer | Schema version of the block |
visible | boolean | Shown on the client/front side when true |
title | string | Block title (card header) |
layout | object | { columns, rows } layout controls (effective only on blocks that support them) |
data | object | Block-specific payload (shape depends on type) |
Response
200 OK: Returns the block object401 Unauthorized: Invalid or missing API key404 Not Found: Quotation or block not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Successful response
401Unauthorized
