Sonos Music API > reorderContainer

Sonos uses reorderContainer to reorder content in a playlist. See Add playlists for details.

Request parameters

Name Type Description
id string(128) Unique ID of the playlist.
from string List of comma-delimited indexes of the tracks to move. This field must be a list of comma-delimited indexes. These indexes are the current track positions in the playlist. The list can also include ranges. For example: 1,2,4-7.
to int Index of the new position. As with from, this list can include ranges. You are required to provide a value for this parameter if you used the from parameter.
updateId string(128) Future implementation. This field can be used to handle editing collisions and data concurrency validation.

Response

Name Type Description
updateId string(128) Future implementation. Can be used to handle editing collisions and data concurrency validation.

Sample request

Sample response