Skip to main content

Reorder week-plan items

Updates sortOrder and optionally dateKey (DnD within/across days). Moving a repeating item to another day updates the series weekday; Later pauses the series.
1 min read
post/week-plan/profiles/{studioId}/items/reorder
Request example
Response
post/week-plan/profiles/{studioId}/items/reorder

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#

Body

application/json
itemsobject[]required#
Show child attributes
idstringrequired#
sortOrderintegerrequired#
dateKeystring#
Optional; moves the item to another day of the same week. Empty string = Later. A repeating item updates the series weekday; Later pauses the series.

Responses

No content.