Releases: alekd77/promo-code-manager
Releases · alekd77/promo-code-manager
Release list
v0.2.0
Changes compared to v0.1.0:
- Implemented new API endpoint (
[GET] /reports/sales/by-currency). - Changed product field type in purchase entity (from
Productproduct toStringproductName). - Fixed bugs that ignored price precision when handling prices in application (e.g
discountAmountbefore: 99.0000004;discountAmountnow: 99.00). - Minor refactoring.
v0.1.0
Implemented REST API endpoints:
- Create a new product
- Get all products
- Update product data
- Create a new fixed-amount promo code.
- Create a new percentage promo code.
- Get all promo codes.
- Get one promo code's details by providing the promo code text.
- Get the product discount price by providing a product name and a promo code text.
- Simulate purchase