reorderPlaylistItems
Move a contiguous range of tracks in a Spotify playlist to a new position. Provide the range start, length, and insertion point to fix track order.
Instructions
Reorder a range of tracks within a Spotify playlist by moving them to a new position
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlistId | Yes | The Spotify ID of the playlist | |
| rangeStart | Yes | The position of the first item to move (0-based index) | |
| snapshotId | No | The playlist snapshot ID to target a specific version (optional) | |
| rangeLength | No | Number of consecutive items to move (defaults to 1) | |
| insertBefore | Yes | The position where the items should be inserted (0-based index) |