Skip to content

samson-olawoyin/simplebks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplebks

API Documentation

Login API


URL : https://simplebks-api.herokuapp.com/login
METHOD : POST
DATA :
{ "seller_id" : "seller_id_here", "seller_zip_code" : "seller_zip_code" }

Logout current seller


URL : https://simplebks-api.herokuapp.com/logout
METHOD : GET

Get seller order items


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


Delete order items


URL : https://simplebks-api.herokuapp.com/order_items/:id
METHOD : DELETE
URL Variables: [id]

Update seller city and state


URL : https://simplebks-api.herokuapp.com/account
METHOD : PATCH
DATA:
{
"seller_city" : "seller_city_data", "seller_state" : "seller_state_data" }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published