An online shop server side that implemented with django rest freamwork.
This project is made for learning purpose and some codes and methods used are not implemented in the correct way
GET /api/v1/get_special_discounts/
GET /api/v1/get_bestselling/
GET /api/v1/groups/
GET /api/v1/categories/{group_id}
Parameter | Type | Description |
---|---|---|
group_id |
Path - Int |
Required. Group id |
GET /api/v1/get_products_by_category/{category}
Parameter | Type | Description |
---|---|---|
category |
Path - str |
Required. Category name |
GET /api/v1/get_products_by_group/{group}
Parameter | Type | Description |
---|---|---|
group |
Path - str |
Required. Group name |
GET /api/v1/get_product/{id}
Parameter | Type | Description |
---|---|---|
id |
Path - Int |
Required. Product id |
GET /api/v1/get_images/{id}
Parameter | Type | Description |
---|---|---|
id |
Path - Int |
Required. Product id |
GET /api/v1/get_comments/{id}
Parameter | Type | Description |
---|---|---|
id |
Path - Int |
Required. Product id |
GET /api/v1/get_product_attributes/{id}
Parameter | Type | Description |
---|---|---|
id |
Path - Int |
Required. Product id |
GET /api/v1/get_user_comments/{user_number}
Parameter | Type | Description |
---|---|---|
id |
Path - Int |
Required. User id |
Post /api/v1/submit_comment/
Parameter | Type | Description |
---|---|---|
comment |
body |
Required. Comment body |
POST /api/v1/delete_comment/{id}
Parameter | Type | Description |
---|---|---|
id |
Path - Int |
Required. Comment id |
POST /api/v1/edit_comment/{id}
Parameter | Type | Description |
---|---|---|
id |
Path - Int |
Required. Comment id |
POST /api/v1/submit_comment/
Parameter | Type | Description |
---|---|---|
comment |
body |
Required. Order body |
GET /api/v1/get_orders/{user_number}
Parameter | Type | Description |
---|---|---|
user_number |
Path - Int |
Required.User number |
GET /api/v1/get_order_details/{order_id}
Parameter | Type | Description |
---|---|---|
order_id |
Path - Int |
Required. Order id |