GitHub repository: CSCI-GA-2820-FA22-001/promotions
Primary language: Python
Description: The promotions resource is a representation of a special promotion or sale that is running against a product or perhaps the entire store. Some examples are "buy 1 get 1 free", "20% off", etc. Discount promotions usually apply for a given duration (e.g., sale for 1 week only). It's up to you to get creative. You should use Python enumerations to represent the different promotion types. A good action for the promotions API is to be able to activate and deactivate a promotion.