patch
https://api.duodeal.app/api/quotation//block/
Partially updates a single block of a quotation (quotation-v2 builder). The JSON
body is shallow-merged into the matching block (blocks[].id === :blockId).
Note: the merge is shallow — sending a data object replaces the whole data
object of the block (it is not deep-merged), so include every data key you want
to keep.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Quotation ID |
blockId | string | Yes | Block envelope id (the stable UUID stored in blocks[].id) |
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
title | string | No | Block title (card header) |
visible | boolean | No | Shown on the client/front side when true |
layout | object | No | { columns, rows } layout controls |
data | object | No | Block-specific payload (replaces the existing data) |
The id and type fields are immutable and ignored if present in the body.
Response
200 OK: Returns the updated block object400 Bad Request: Invalid JSON body401 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…
200Resource updated
400Bad request
401Unauthorized
404Resource not found
