Public
Documentation Settings

E-Commerce Production

Backend API for E-shop application, which is a E-shop directory API made with Express to manage bootcamps, course, users, and authentication.

products

Products CRUD functionality

GETGet All Products

https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products/
Example Request
curl
curl --location 'https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products/'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

GETGet Product By Id

https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products/630eac2d6116a19767ed6906
AUTHORIZATIONBearer Token
Token

<token>

Example Request
curl
curl --location 'https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products/630eac2d6116a19767ed6906'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

GETGet Total Product

https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products/get/count
AUTHORIZATIONBearer Token
Token

<token>

Example Request
curl
curl --location 'https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products/get/count'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

GETGet Featured Product Limit

https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products/get/featured/0
AUTHORIZATIONBearer Token
Token

<token>

Example Request
curl
curl --location 'https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products/get/featured/0'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

GETGet Filtering Product By Category Id

https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products?categories=5f15d5b2cb4a6642bddc0fe7,5f15d467f3a046427a1c26e1
AUTHORIZATIONBearer Token
Token

<token>

PARAMS
categories

5f15d5b2cb4a6642bddc0fe7,5f15d467f3a046427a1c26e1

Example Request
curl
curl --location 'https://e-commerce-backend-production-f9e5.up.railway.app//api/v1/products?categories=5f15d5b2cb4a6642bddc0fe7%2C5f15d467f3a046427a1c26e1'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers