Endpoints
Related routes
GET
/en/mock/products/1/ordersOrders containing this product
Filters
page, limit, q, category, status
Fields
| Field | Type | Description |
|---|---|---|
id | number | Product ID |
title | string | Product name |
category | string | Category |
price | number | Price |
currency | string | Currency, e.g. USD |
stock | number | Stock |
status | string | Status, e.g. active / inactive |
description | string | Description |
Notes
- Writes are simulated and never stored; GET responses are cached for 60 seconds.
Example
curl "https://www.temp-api.com/en/mock/products?limit=3"
{
"code": 200,
"message": "ok",
"data": [
{ "id": 1, "title": "Wireless Noise-Cancelling Headphones", "category": "Electronics", "price": 129.99, "currency": "USD" }
],
"meta": { "page": 1, "limit": 3, "total": 10 }
}