GitHub repository: nyu-devops-promotions/promotions
Primary language: Python
Created: 2022-09-22T18:11:28Z
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.