The main idea of this project is to provide a marketplace API system that focuses on food commerce. The project was designed for both users and sellers, allowing for interactive engagement in commerce.
Below are some examples of the API routes that can be used from the project
Parameter |
Type |
Description |
fullname |
string |
Required. User fullname |
email |
string |
Required. User email |
password |
string |
Required. User password |
Parameter |
Type |
Description |
fullname |
string |
Required. User fullname |
Parameter |
Type |
Description |
old_password |
string |
Required. User current password |
new_password |
string |
Required. User new password |
confirm_password |
string |
Required. User new password |
Parameter |
Type |
Description |
seller_name |
string |
Required. Seller fullname |
email |
string |
Required. Seller email |
password |
string |
Required. Seller password |
Parameter |
Type |
Description |
seller_name |
string |
Required. Seller username |
Parameter |
Type |
Description |
old_password |
string |
Required. Seller current password |
new_password |
string |
Required. Seller new password |
confirm_password |
string |
Required. Seller new password |
POST /product (sellers only)
Parameter |
Type |
Description |
product_name |
string |
Required. Product name |
product_desc |
string |
Optional. Product description |
product_image |
string |
Optional. Product image |
product_price |
integer |
Required. Product price |
product_available |
integer |
Required. Availability of the product |
Parameter |
Type |
Description |
id_seller |
string |
Required. Seller id |
PUT /product/<id_product> (sellers only)
Parameter |
Type |
Description |
id_product |
integer |
Required. Product id that has been provided from the seller id |
product_name |
string |
Required. Product name |
product_desc |
string |
Optional. Product description |
product_image |
string |
Optional. Product image |
product_price |
integer |
Required. Product price |
product_available |
integer |
Required. Availability of the product |
DELETE /product/<id_product> (sellers only)
Parameter |
Type |
Description |
id_product |
string |
Required. Product id |
Parameter |
Type |
Description |
product_id |
integer |
Required. Product id |
total_items |
integer |
Required. Total items of products |
total_payments |
integer |
Required. Total prices |
seller_id |
string |
Required. Seller id from the product that was chosed by the users |
Parameter |
Type |
Description |
payment_id |
integer |
Required. Payment id |
seller_id |
string |
Required. Seller id from the product that was chosed by the users |
product_id |
string |
Required. Product id |
Parameter |
Type |
Description |
payment_id |
integer |
Required. Payment id |
seller_id |
string |
Required. Seller id from the product that was chosed by the users |
product_id |
string |
Required. Product id |