Skip to content

Product update and get API #21

@wenjie-mo

Description

@wenjie-mo

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions