Skip to main content

Update planner line

Update a line in a planner scenario. Requires Authorization: Bearer with a Better Auth session token.
1 min read
patch/finance/profiles/{studioId}/planner/scenarios/{scenarioId}/items/{itemId}
Request example
Response
patch/finance/profiles/{studioId}/planner/scenarios/{scenarioId}/items/{itemId}

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.
scenarioIdstringrequired#
Identifier or key scenarioId.
itemIdstringrequired#
Identifier or key itemId.

Body

application/json
namestring#
typeenum<string>#
Options:expenseincome
amountCentsinteger#
recurrenceenum<string>#
Options:one_offmonthly
startYearinteger#
startMonthinteger#
endYearinteger#
endMonthinteger#
notestring#
isActiveboolean#

Responses

Actualizado without contenido.