As a promotion manager I need the ability to list all current promotions So that I can see an overview of all active discounts and sales
Details and Assumptions
The promotions will be stored in a PostgreSQL database.
Each promotion includes details like type (e.g., "Buy 1 Get 1 Free", "20% Off"), applicable products, and duration.
Acceptance Criteria
Given there are multiple promotions in the database
When I request to list all promotions
Then I should see a list of all active promotions with their details
As a promotion user I need the ability to check promotion of the specified product or the products with greater discount So that I can make the decision to purchase or not
Details and Assumptions
The promotions will be stored in a PostgreSQL database.
Each promotion includes details like type (e.g., "Buy 1 Get 1 Free", "20% Off"), applicable products, and duration.
Acceptance Criteria
Given there are multiple promotions in the database
When I request to search a specified product or a range of discount
Then I should see a list of all active promotions with their details
As a promotion manager
I need the ability to list all current promotions
So that I can see an overview of all active discounts and sales
Details and Assumptions
The promotions will be stored in a PostgreSQL database.
Acceptance Criteria
As a promotion user
I need the ability to check promotion of the specified product or the products with greater discount
So that I can make the decision to purchase or not
Details and Assumptions
The promotions will be stored in a PostgreSQL database.
Acceptance Criteria