Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Update Shopping Cart Item Amount #30

Open
LeHuth opened this issue Jun 22, 2023 · 0 comments
Open

Update Shopping Cart Item Amount #30

LeHuth opened this issue Jun 22, 2023 · 0 comments
Milestone

Comments

@LeHuth
Copy link
Owner

LeHuth commented Jun 22, 2023

Description:
The shopping cart route needs to be updated to allow for the modification of the amount of an item in the cart.

Goal:
Implement the necessary functionality in the shopping cart route to update the amount of an item.

Current Behavior:
Currently, the shopping cart route does not provide the capability to update the amount of an item.

Acceptance Criteria:

  • When a valid request is sent to update the amount of an item in the shopping cart, the route should locate the item based on its ID.
  • The amount of the item should be updated according to the request.
  • After updating the item, the route should save the changes and return a success response with the updated item.
  • If the item is not found, the route should return an appropriate error response with a corresponding message.

Please Note:

  • The shopping cart route is already implemented and functional for other operations (e.g., adding and removing items).
@LeHuth LeHuth added this to the Cart Backend milestone Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant