Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product update and get API #21

Open
2 tasks
wenjie-mo opened this issue May 14, 2022 · 0 comments
Open
2 tasks

Product update and get API #21

wenjie-mo opened this issue May 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@wenjie-mo
Copy link
Member

wenjie-mo commented May 14, 2022

User Story

As a Seller, I would like to update my product.
As a Buyer, I would like to see a list of products sold by a seller.

Detailed Description

  • A product associated with the current user should be updated if the update request is valid. A corresponding response needs to be returned.
  • A list of products (length will be given by frontend) associated with a seller should be provided to frontend upon request.
  • Refractor and reuse existing code if possible.
  • Feel free to change/add/delete interfaces and parameters if necessary.
  • Test new APIs with Postman.

Acceptance Criteria

  • Given Product information, then update product and return corresponding respoonsess
  • Given Seller id and number of items requested, then return a list of products
@wenjie-mo wenjie-mo added the enhancement New feature or request label May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants