foxnewsnetwork/American-Lit-315 — Issue #55: JSON buying stuff
Author: foxnewsnetwork
Created: 2012-02-21 22:40:37+00:00
State: open

expand the API so I can buy stuff. Here's is how it should work.

I want to send a POST request to /api/v1/products/:id
the post request will contain:

userToken = #### ,
quantity = #### ,

OR

creditcard = #### ,
shipAddress = #### ,
billAddress = #### ,
productId = #### ,
quantity = ####

if it's the latter, be sure to record the new user data if it is, indeed, a new user