API Reference / Finance - Budget Items
Reorder budget items
patch
https://api.intelig.ai/api/v1/intelig/budgets/{budgetId}/items/reorder
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: reorderItems
Updates the sort order of items (drag-and-drop)
Example request
curl -X PATCH "https://api.intelig.ai/api/v1/intelig/budgets/1/items/reorder" \
-H "Authorization: ApiKey $INTELIG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"itemIds": [
3,
1,
5,
2
]
}' Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
budgetId | integer (int64) | yes | — |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
itemIds | integer[] | yes | Ordered list of item IDs defining the new sort order Example: [3,1,5,2] |
Response 200
application/json · ApiResponseVoid
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | object | — |
Status codes
200— Budget items reordered successfully400— Invalid item ID list401— Not authenticated403— Insufficient permissions to access finance pillar404— Budget not found429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.