|
|
|
|
|
by nodesocket
4338 days ago
|
|
Can we run through an example of how this works? Let's say I have a website that sells Super Bowl tickets. I open sales at market price of $1999.00. Then, does every time a purchase happen I send you a post event such as: {"item": 150242, "price": 1999.00, at: "2014-08-03T12:40:34Z"}
Then when rendering the product I call into your api to fetch the surge price adjusted value `/v1/150242` and get back: {"item" 150242, "quantity_left", 48, "surge_price": 2033.00, "original_price": 1999.00, "percent_change": 1.7 }
|
|
We also have implemented a "real-time" aspect whereby the price can also fluctuate based on the number of users currently viewing/purchasing an item vs. the average number of users usually viewing the item (for example when Outside Lands begins selling their tickets at 10am PST). Other factors taken into consideration (as of now, but more to come) are: inventory_remaining, and profit_margin (i.e. how much you make on each sale).