Skip to main content

Update week-plan item

1 min read
patch/week-plan/profiles/{studioId}/items/{itemId}
Request example
Response
patch/week-plan/profiles/{studioId}/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#
itemIdstringrequired#

Body

application/json
titlestring#
notesstring#
doneboolean#
true marca doneAt; false lo limpia.
dateKeystring#
Day YYYY-MM-DD. Empty string moves the item to Later. A repeating item updates the series weekday; Later pauses the series.
sortOrderinteger#
sourceTaskIdstring#
clearTaskIdboolean#
true quita sourceTaskId.
sourceActivityIdstring#
clearActivityIdboolean#
true quita sourceActivityId.
calendarReminderIdstring#
clearCalendarReminderboolean#
true unlinks the Calendar reminder without deleting the item.
repeatWeeklyboolean#
true starts a weekly series if the item does not have one.
stopRepeatingboolean#
true pauses the series (does not materialize future weeks).

Responses

No content.