SANDBOX MODE


- Add a new buyer
POST /newBuyer
{ "name": "Mac", "firstName": "David" [...] }

Try it

- Update a buyer
POST /updateBuyer
{ "name": "Mac", "firstName": "Davids" [...] }

Try it

- Add a new seller
POST /newSeller
{ "name": "Doe", "firstName": "John" [...] }

Try it

- Update a seller
POST /updateSeller/{id}
{ "name": "Doe", "firstName": "Bill" [...] }

Try it

- Create a cart
POST /createCart/
{ [ "sellerId" : 12, "product" : [["name" : "My Product 1", "unitPrice" : "27.00", "qty" : 2],["name" : "My Product 2", "amount" : "42.00"]] ], [...] }

Try it

- Make an payment
GET /Payment/{userId}/{CartId}

Try it

- Use an unique code for one seller
GET /useUniqueCode/{sellerId}/{uniqueCode}

Try it

- Cancel an unique code for one seller
GET /cancelUniqueCode/{sellerId}/{uniqueCode}

Try it