patch
https://api.duodeal.app/api/quotation//blocks/order
Reorders the blocks of a quotation (quotation-v2 builder). The order array lists the
block ids in the desired top-to-bottom sequence.
Any existing block not listed in order is kept and appended after the ordered
ones (preserving its relative order), so a partial or stale list can never silently
drop blocks. Ids in order that do not match an existing block are ignored.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Quotation ID |
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
order | string[] | Yes | Block ids (UUID strings) in the desired order |
Response
200 OK: Returns the reordered block list400 Bad Request: Body does not contain anorderarray401 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…
200Resource updated
400Bad request
401Unauthorized
404Resource not found
