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

[Finsishes #187354256] Marking product as available or unavailable #60

Conversation

amin-leon
Copy link
Collaborator

Purpose

Products should be availed for buyers to purchase:
As a seller I should be able to mark a product as available or unavailable manually in order to make it available for the buyers on not.
Reasons can be: expiry date, low on stock

Changes Made

  • Added a column "available" on Size model
  • Created two controllers: markProductAsAvailbale and markProductAsUnavailbale
  • Added swagger docs for those two controllers

Testing Instructions

None

Related Issues

None

Checklist

Please review the following checklist and make sure all tasks are complete before submitting:

  • Code follows the project's coding standards
  • Changes are covered by tests
  • Documentation is updated (if applicable)
  • All tests pass

@amin-leon amin-leon closed this May 9, 2024
@amin-leon amin-leon deleted the 187354256_ft_seller_mark_a_product_as_available_or_unavailable_in_collection branch May 9, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant