Free Fake eCommerce Rest APIs
Free complete store rest api for testing your application and prototypes
{
"status": 200,
"message": "Success! Product description",
"data": {
"_id": "61ab43350f34753bcedfa7aa",
"title": "men casual shoes sports running sneakers",
"slug": "men-casual-shoes-sports-running-sneakers",
"price": 100,
"description": "...",
"category": {
...
},
"createdBy": {
...
},
"createdAt": "2021-12-04T10:30:13.299Z",
"updatedAt": "2021-12-04T10:30:13.299Z"
}
}
👉 Product Description
Try it
Run this code in a console or from any site:
fetch('https://api.storerestapi.com/products/running-sneaker')
.then(response => response.json())
.then(json => console.log(json))
{}
Resources
The main resources need in shopping prototypes
Note: resources have relations. For example: category have many product, product have many carts
Check all APIs documentationAuth
JWT Authentication
- /auth/loginLogin
- /auth/registerRegistration
- /auth/slugRefresh token
Routes
Http protocol is support 👍
Slug is used for Product, Category resources. And _id is used for User, Cart, Todo resource
- MethodsEndpoints
- /productsGET
- /products/[slug]GET
- /products/[slug]POST
- /products/[slug]PUT
- /products/[slug]DELETE
Note: User and Cart case slug will replace by object _id.
Check product documentation