# Обновление товара из текущей корзины Обновляет уже имеющийся в корзине товар или создает его в корзине. Endpoint: PUT /v2/project/{project_id}/cart/item/{item_sku} Version: 2.0.0 Security: AuthForCart ## Path parameters: - `project_id` (integer, required) ID проекта. Вы можете найти этот параметр в Личном кабинете рядом с названием проекта. Example: 44056 - `item_sku` (string, required) Артикул товара. Example: "booster_mega_1" ## Request fields (application/json): - `quantity` (number) Количество товаров. ## Response 404 fields (application/json): - `errorCode` (integer) Example: 4001 - `errorMessage` (string) Example: "[0401-4001]: Item with Project Id = 44056 and Sku = booster_mega_12222 not found" - `statusCode` (integer) Example: 404 ## Response 422 fields (application/json): - `errorCode` (integer) Example: 1421 - `errorMessage` (string) Example: "This type of item cannot be put to the cart. Select another type of item." - `statusCode` (integer) Example: 422 ## Response 204 fields