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

# Update a QC Request checklist item

> Sets the status of a single checklist item on a QC Request, recording when it was reviewed. Rejected if the parent request has already been reviewed (is no longer pending).




## OpenAPI

````yaml /api-reference/qc/openapi.yaml patch /v2/qc/requests/{qcrID}/items/{itemID}
openapi: 3.0.0
info:
  title: QC API
  description: >-
    API for managing Quality Control checklists, requests, approving or
    rejecting requests, etc.
  version: 2.0.0
  contact:
    name: Slate API Support
    email: api-support@slate.inc
    url: https://slate.inc
servers:
  - url: https://api.slate.inc/qc
    description: Production
  - url: https://api.uat.slate.inc/qc
    description: UAT (staging)
security:
  - bearerAuth: []
paths:
  /v2/qc/requests/{qcrID}/items/{itemID}:
    patch:
      summary: Update a QC Request checklist item
      description: >
        Sets the status of a single checklist item on a QC Request, recording
        when it was reviewed. Rejected if the parent request has already been
        reviewed (is no longer pending).
      parameters:
        - in: path
          name: qcrID
          required: true
          schema:
            type: string
        - in: path
          name: itemID
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchQCRequestItem'
      responses:
        '200':
          description: QC Request item patched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QCRequestChecklistItem'
        '400':
          description: Invalid request parameters or the request has already been reviewed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized or invalid permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            Quality Check Request or item not found, or token does not have
            permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PatchQCRequestItem:
      type: object
      required:
        - status
      properties:
        status:
          type: string
          description: The status to set on the checklist item
          enum:
            - approved
            - rejected
            - pending
            - not_applicable
        reviewerNote:
          type: string
          description: >-
            Reviewer-entered note explaining a rejected item. Only applicable to
            `review` type requests.
    QCRequestChecklistItem:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the QC checklist item
        createdOn:
          type: string
          format: date-time
          description: Timestamp when the QC checklist item was created
        displayName:
          type: string
          description: Name of the QC checklist item
        question:
          type: string
          description: The QC checklist item's question.
        description:
          type: string
          description: Description of the QC checklist item
        status:
          type: string
          enum:
            - approved
            - rejected
            - pending
            - not_applicable
        roleId:
          type: string
          description: Unique identifier of a QC checklist role assigned to item
        completedBy:
          type: string
          description: User ID that completed the QC checklist item
        group:
          type: string
          description: >
            The precomputed display label for this item's group and position
            within it (e.g. `A1`, `1-1`), for `review` type requests. Empty when
            the item has no group.
        allowNA:
          type: boolean
          description: >-
            Whether reviewers can mark this item Not Applicable. Only applicable
            to `review` type requests.
        reviewerNote:
          type: string
          description: >-
            Reviewer-entered note explaining a rejected item. Only applicable to
            `review` type requests.
        reviewedOn:
          type: string
          format: date-time
          description: >
            Timestamp when this item was last set to a non-pending status.
            Cleared when the item is reset to pending. Used to track reviewer
            progress through a checklist.
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
          description: A human readable error message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Owner-scoped bearer token. The `owner` a request is scoped to is derived
        from the token; list endpoints also take an explicit `owner` query
        parameter your token must be authorized to read.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.