playlistItems_update
Update a YouTube playlist item's position, note, or video start/end times while preserving unspecified fields. Requires OAuth and uses 50 quota units.
Instructions
Modify a playlist item (e.g. its position). Omitted snippet/contentDetails fields are preserved. Quota cost: 50 units. Requires OAuth access token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The playlist item ID to update. Required. | |
| note | No | Maximum 280 characters. Note associated with the playlist item. | |
| part | No | Resource properties to override and return. Must include 'snippet'. | snippet,contentDetails |
| endAt | No | End time in seconds of the video portion to play (contentDetails). | |
| startAt | No | Start time in seconds of the video portion to play (contentDetails). | |
| videoId | Yes | The video ID of the item. Required. | |
| position | No | The new 0-based position of the item. Only if the playlist uses manual ordering. | |
| playlistId | Yes | The ID of the playlist containing the item. Required. | |
| onBehalfOfContentOwner | No | Content owner to act on behalf of (YouTube partners only). | |
| onBehalfOfContentOwnerChannel | No | Channel ID to act on behalf of (YouTube partners only). |