Templates/E-commerce API
🛒Available now

E-commerce API Template

A fully connected e-commerce mock API with 6 entities, pre-built foreign key relationships (including a proper many-to-many orders-to-products model via orderItems), and 25 records of realistic fake data per route — ready to call in seconds. No setup, no backend.

6Routes
150Records
5CRUD methods
12Relationships

Schema

Every field maps to a Faker.js generator. Foreign keys are pre-wired — related records are embedded automatically in every GET response based on the defined relationships.

🛍️products7 fields
name
commerce.productName
description
commerce.productDescription
price
commerce.price
stock
number.int
sku
string.alphanumeric
imageUrl
image.url
categoryId
→ categoriesstring.uuid
belongsTo categorieshasMany reviewshasMany orderItems
👤users7 fields
firstName
person.firstName
lastName
person.lastName
email
internet.email
phone
phone.number
address
location.streetAddress
city
location.city
country
location.country
hasMany ordershasMany reviews
📦orders3 fields
status
word.adjective
total
commerce.price
userId
→ usersstring.uuid
belongsTo usershasMany orderItems
🗂️categories3 fields
name
commerce.department
description
lorem.sentence
slug
lorem.slug
hasMany products
reviews4 fields
rating
number.int
comment
lorem.paragraph
userId
→ usersstring.uuid
productId
→ productsstring.uuid
belongsTo usersbelongsTo products
🔗orderItems4 fields
orderId
→ ordersstring.uuid
productId
→ productsstring.uuid
quantity
number.int
price
commerce.price
belongsTo ordersbelongsTo products

Generated endpoints

Every route gets the full set — replace {route} with products, users, orders, categories, reviews, or orderItems.

GET/api/schema/{route}
GET/api/schema/{route}/:id
POST/api/schema/{route}
PATCH/api/schema/{route}/:id
DELETE/api/schema/{route}/:id

Includes pagination (?page=&perPage=), sorting (?sort=&order=), and optional XML output (Startup+).

Ready to use it?

One click and your E-commerce API is live — 6 routes, 150 records, full CRUD, many-to-many orders-to-products wired. Sign in or create a free account if you haven't already.

✓ Free plan✓ No credit card✓ Live in under 10 seconds