URL :
https://simplebks-api.herokuapp.com/login
METHOD :
POST
DATA :
{
"seller_id" : "seller_id_here",
"seller_zip_code" : "seller_zip_code"
}
URL :
https://simplebks-api.herokuapp.com/logout
METHOD :
GET
URL :
https://simplebks-api.herokuapp.com/order_items/:price/:order_date/:limit/:page
METHOD : GET
URL Variables:
[price,order_date,limit,page]
DESCRIPTION:
price is order by passing 1 or -1, 1 for accending while -1 decending
order_date is order by passing 1 or -1, 1 for accending while -1 decending
limit is limit of the documents returned e.g 20
page is page number for quick data retreive e.g 1
URL :
https://simplebks-api.herokuapp.com/order_items/:id
METHOD :
DELETE
URL Variables:
[id]
URL :
https://simplebks-api.herokuapp.com/account
METHOD :
PATCH
DATA:
{
"seller_city" : "seller_city_data",
"seller_state" : "seller_state_data"
}