Directly proportional to the frequency the vendor discounts them. If there are frequent promos then your selling price goes down because you are in effect competing with vendor.
Apple does not do this and this is the primary reason apple products face less depreciation
For everybody else its a numbers game. They have sales targets to reach at regular intervals.