API

Reorder expenses

Set expense sort order within a box.

Writes sortOrder from orderedExpenseIds inside one box.

POST/v1/reorder_expenses

Body

FieldTypeRequiredDefaultDescription
budgetIdstringYes—Budget that owns the box.
boxIdstringYes—Box whose expenses to reorder.
orderedExpenseIdsstring[]Yes—Full desired expense order inside the box.

Response data

FieldTypeDescription
budgetIdstringId of the budget this resource belongs to.
boxIdstringId of the parent expense box.
orderedExpenseIdsstring[]The order that was persisted.