Skip to main content

Update playlist items

PUT 

/api/:userUUID/playlists/:playlistId/items

Click here to check which services support updating playlist items

Modify the order of items within a user's playlist based on the parameters provided in the request body. The reordering process starts from the position specified by rangeStart and encompasses the next rangeLength items. The destination for these reordered items is determined by the insertBefore property (starts with 0).

Examples:

  • To move the first two items to the end of a playlist containing 10 items, set rangeStart as 0, rangeLength to 2 and insertBefore as 10.
  • To move the last item to the start of the playlist containing 10 items, set rangeStart to 9, rangeLength to 1 and insertBefore to 0.

Request

Responses

ok