> ## Documentation Index
> Fetch the complete documentation index at: https://ileolami.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Item

> This endpoint update an individual item on a list



## OpenAPI

````yaml put /4/list/{list_id}/items
openapi: 3.0.3
info:
  title: Version 4
  description: This API is the version 4 of TMDB API
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: ACCOUNT
  - name: AUTH
  - name: LISTS
    description: For this folder, you will need to create an access token
paths:
  /4/list/{list_id}/items:
    parameters:
      - name: list_id
        description: the ID of the custom list
        in: path
        required: true
        schema:
          type: integer
          example: 8510518
    put:
      tags:
        - LISTS
      summary: Update Item
      description: This endpoint update an individual item on a list
      operationId: updateItem
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                items:
                  type: array
                  items:
                    type: object
                    properties:
                      comment:
                        description: The comment for the item
                        type: string
                        example: Amazing movie!
                      media_id:
                        description: The id of the media
                        type: integer
                        example: 194662
                      media_type:
                        description: The type of media (e.g., movie)
                        type: string
                        example: movie
                  example:
                    - comment: Amazing movie!
                      media_id: 194662
                      media_type: movie
                    - comment: Wow.
                      media_id: 76203
                      media_type: movie
            examples:
              Update Item:
                value:
                  items:
                    - comment: Amazing movie!
                      media_id: 194662
                      media_type: movie
                    - comment: Wow.
                      media_id: 76203
                      media_type: movie
      responses:
        '200':
          description: Update Item
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Mon, 03 Mar 2025 10:13:00 GMT
            Server:
              schema:
                type: string
                example: openresty
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 8db1ee4e3ce665297e547b943a1b3122.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: '-4iB0IeJtGmwjnB9E7GC36ztCtsemtcS6i8IzBZScviUMAV0CmDwPg=='
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: LOS50-P2
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            cache-control:
              schema:
                type: string
                example: public, max-age=0
            etag:
              schema:
                type: string
                example: W/"7c6581447cdea35179c1b0437ef7efdd"
            vary:
              schema:
                type: string
                example: accept-encoding
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        media_id:
                          type: number
                          example: 194662
                        media_type:
                          type: string
                          example: movie
                        success:
                          type: boolean
                          example: false
                    example:
                      - media_id: 194662
                        media_type: movie
                        success: false
                      - media_id: 76203
                        media_type: movie
                        success: false
                  status_code:
                    type: number
                    example: 1
                  status_message:
                    type: string
                    example: Success.
                  success:
                    type: boolean
                    example: true
              examples:
                Update Item:
                  value:
                    results:
                      - media_id: 194662
                        media_type: movie
                        success: false
                      - media_id: 76203
                        media_type: movie
                        success: false
                    status_code: 1
                    status_message: Success.
                    success: true
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````