<div><ahref="#"class="skipToContent_1oUP">Skip to main content</a></div><navclass="navbar navbar--fixed-top"><divclass="navbar__inner"><divclass="navbar__items"><buttonaria-label="Navigation bar toggle"class="navbar__toggle clean-btn"type="button"tabindex="0"><svgwidth="30"height="30"viewBox="0 0 30 30"aria-hidden="true"><pathstroke="currentColor"stroke-linecap="round"stroke-miterlimit="10"stroke-width="2"d="M4 7h22M4 15h22M4 23h22"></path></svg></button><aclass="navbar__brand"href="/SpotifyAPI-NET/"><imgsrc="/SpotifyAPI-NET/img/logo.svg"alt="SpotifyAPI-NET"class="themedImage_1VuW themedImage--light_3UqQ navbar__logo"><imgsrc="/SpotifyAPI-NET/img/logo.svg"alt="SpotifyAPI-NET"class="themedImage_1VuW themedImage--dark_hz6m navbar__logo"><bclass="navbar__title">SpotifyAPI-NET</b></a><divclass="navbar__item dropdown dropdown--hoverable"><aclass="navbar__item navbar__link">Docs</a><ulclass="dropdown__menu"><li><aclass="dropdown__link"href="/SpotifyAPI-NET/docs/introduction">6.X (current)</a></li><li><aclass="dropdown__link"href="/SpotifyAPI-NET/docs/5.1.1/home">5.1.1</a></li></ul></div></div><divclass="navbar__items navbar__items--right"><ahref="https://github.com/JohnnyCrazy/SpotifyAPI-NET"target="_blank"rel="noopener noreferrer"class="navbar__item navbar__link"><span>GitHub<svgwidth="13.5"height="13.5"aria-hidden="true"viewBox="0 0 24 24"class="iconExternalLink_3J9K"><pathfill="currentColor"d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a><divclass="react-toggle toggle_3Zt9 react-toggle--disabled"><divclass="react-toggle-track"role="button"tabindex="-1"><divclass="react-toggle-track-check"><spanclass="toggle_71bT">🌜</span></div><divclass="react-toggle-track-x"><spanclass="toggle_71bT">🌞</span></div><divclass="react-toggle-thumb"></div></div><inputtype="checkbox"class="react-toggle-screenreader-only"aria-label="Switch between dark and light mode"></div></div></div><divrole="presentation"class="navbar-sidebar__backdrop"></div></nav><divclass="main-wrapper docs-wrapper doc-page"><divclass="docPage_31aa"><buttonclass="clean-btn backToTopButton_35hR"type="button"title="Scroll to top"><svgviewBox="0 0 24 24"width="28"><pathd="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"fill="currentColor"></path></svg></button><asideclass="docSidebarContainer_3Kbt"><divclass="sidebar_15mo"><navclass="menu thin-scrollbar menu_Bmed menuWithAnnouncementBar_2WvA"><ulclass="menu__list"><liclass="menu__list-item menu__list-item--collapsed"><aclass="menu__link menu__link--sublist"href="#">SpotifyAPI-NET</a></li><liclass="menu__list-item"><aclass="menu__link menu__link--sublist menu__link--active"href="#">SpotifyAPI-NET.Web</a><ulstyle="display:block;overflow:visible;height:auto"class="menu__list"><liclass="menu__list-item"><aclass="menu__link"tabindex="0"href="/SpotifyAPI-NET/docs/5.1.1/web/getting_started">Getting Started</a></li><liclass="menu__list-item"><aclass="menu__link"tabindex="0"href="/SpotifyAPI-NET/docs/5.1.1/web/albums">Albums</a></li><liclass="menu__list-item"><aclass="menu__link"tabindex="0"href="/SpotifyAPI-NET/docs/5.1.1/web/artists">Artists</a></li><liclass="menu__list-item"><aclass="menu__link"tabindex="0"href="/SpotifyAPI-NET/docs/5.1.1/web/browse">Browse</a></li><liclass="menu__list-item"><aclass="menu__link"tabindex="0"href="/SpotifyAPI-NET/docs/5.1.1/web/follow">Follow</a></li><liclass="menu__list-item"><aclass="menu__link"tabindex="0"href="/SpotifyAPI-NET/docs/5.1.1/web/library">Library</a></li><liclass="menu__list-item"><aclass="menu__link"tabindex="0"href="/SpotifyAPI-NET/docs/5.1.1/web/personalization">Personalization</a></li><liclass="menu__list-item"><aclass="menu__link"tabindex="0"href="/SpotifyAPI-NET/docs/5.1.1/web/player">Player</a></li><liclass="menu__list-item"><aaria-current="page"class="menu__link menu__link--active active"tabindex="0"href="/SpotifyAPI-NET/docs/5.1.1/web/playlists">Playlists</a></li><li
More Info: <ahref="https://developer.spotify.com/web-api/reorder-playlists-tracks/"target="_blank"rel="noopener noreferrer">Reorder-Playlist</a></p></blockquote><p><strong>Parameters</strong></p><table><thead><tr><th>Name</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td>userId</td><td>The user's Spotify user ID.</td><td><code>"1122095781"</code></td></tr><tr><td>playlistId</td><td>The Spotify ID for the playlist.</td><td><code>"1TtEejT1y4D1WmcOnLfha2"</code></td></tr><tr><td>rangeStart</td><td>The position of the first track to be reordered.</td><td><code>2</code></td></tr><tr><td>insertBefore</td><td>The position where the tracks should be inserted.</td><td><code>0</code></td></tr><tr><td>[rangeLength]</td><td>The amount of tracks to be reordered. Defaults to 1 if not set.</td><td><code>2</code></td></tr><tr><td>[snapshotId]</td><td>The playlist's snapshot ID against which you want to make the changes.</td><td>``</td></tr></tbody></table><p>Returns a <code>Snapshot</code>-Object which contains the property <code>String SnapshotId</code></p><p><strong>Usage</strong></p><divclass="codeBlockContainer_K1bP"><divclass="codeBlockContent_hGly csharp"><pretabindex="0"class="prism-code language-csharp codeBlock_23N8 thin-scrollbar"style="color:#bfc7d5;background-color:#292d3e"><codeclass="codeBlockLines_39YC"><spanclass="token-line"style="color:#bfc7d5"><spanclass="token plain">Snapshot snapshot = _spotify.ReorderPlaylist("1122095781", "1TtEejT1y4D1WmcOnLfha2", 2, 0, 2);</span></span><spanclass="token-line"style="color:#bfc7d5"><spanclass="token plain">Console.WriteLine("New SnapshotId: " + snapshot.SnapshotId);</span></span></code></pre><buttontype="button"aria-label="Copy code to clipboard"class="copyButton_Ue-o clean-btn">Copy</button></div></div><hr></div><footerclass="row docusaurus-mt-lg"><divclass="col"><ahref="https://github.com/JohnnyCrazy/SpotifyAPI-NET/edit/master/SpotifyAPI.Docs/versioned_docs/version-5.1.1/web/playlists.md"target="_blank"rel="noreferrer noopener"><svgfill="currentColor"height="20"width="20"viewBox="0 0 40 40"class="iconEdit_2_ui"aria-hidden="true"><g><pathd="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><divclass="col lastUpdated_3DPF">Last updated on <b><timedatetime="2021-08-11T17:04:04.000Z">8/11/2021</time></b> by <b>Jonas Dellinger</b></div></footer></article><navclass="pagination-nav docusaurus-mt-lg"aria-label="Docs pages navigation"><divclass="pagination-nav__item"><aclass="pagination-nav__link"href="/SpotifyAPI-NET/docs/5.1.1/web/player"><divclass="pagination-nav__sublabel">Previous</div><divclass="pagination-nav__label">« Player</div></a></div><divclass="pagination-nav__item pagination-nav__item--next"><aclass="pagination-nav__link"href="/SpotifyAPI-NET/docs/5.1.1/web/profiles"><divclass="pagination-nav__sublabel">Next</div><divclass="pagination-nav__label">Profiles »</div></a></div></nav></div></div><divclass="col col--3"><divclass="tableOfContents_35-E thin-scrollbar"><ulclass="table-of-contents table-of-contents__left-border"><li><ahref="#getuserplaylists"class="table-of-contents__link">GetUserPlaylists</a></li><li><ahref="#getplaylist"class="table-of-contents__link">GetPlaylist</a></li><li><ahref="#getplaylisttracks"class="table-of-contents__link">GetPlaylistTracks</a></li><li><ahref="#createplaylist"class="table-of-contents__link">CreatePlaylist</a></li><li><ahref="#updateplaylist"class="table-of-contents__link">UpdatePlaylist</a></li><li><ahref="#replaceplaylisttracks"class="table-of-contents__link">ReplacePlaylistTracks</a></li><li><ahref="#removeplaylisttracks"class="table-of-contents__link">RemovePlaylistTracks</a></li><li><ahref="#removeplaylisttrack"class="table-of-contents__link">RemovePlaylistTrack</a></li><li><ahref="#addplaylisttracks"class="table-of-contents__link">AddPlaylistTracks</a></li><li>