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

# Update Quantity

> Updates the quantity of a specific item in the user's cart based on the item ID and provided count.



## OpenAPI

````yaml POST /cart/reload/{id}
openapi: 3.0.0
info:
  title: MineStoreCMS REST API
  description: Documentation for MineStoreCMS Frontend REST API.
  version: 3.8.7
servers:
  - url: https://v3.minestorecms.com/api
    description: Example URL of Demo Server
security: []
tags: []
paths:
  /cart/reload/{id}:
    post:
      tags:
        - cart
      summary: Reload the quantity of an item in the cart
      description: >-
        Updates the quantity of a specific item in the user's cart based on the
        item ID and provided count.
      parameters:
        - name: id
          in: path
          required: true
          description: The ID of the item to update in the cart.
          schema:
            type: string
        - name: count
          in: query
          required: true
          description: The new quantity of the item to set in the cart.
          schema:
            type: integer
            example: 1
      responses:
        '200':
          description: >-
            Successful response indicating the item quantity was updated or
            removed from the cart.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Indicates if the operation was successful.
        '401':
          description: Unauthorized - Invalid or missing Access Token.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Indicates the operation was unsuccessful.
                  message:
                    type: string
                    description: Details about the unauthorized access.
      deprecated: false
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````