Secure your requests with an API key.
All API requests must include the API key in the header.
GET /api/v1/products
| Parameter | Type | Description | Example |
|---|---|---|---|
| page | number | Page number (default: 1) | ?page=2 |
| limit | number | Items per page (default: 10, max: 100) | ?limit=20 |
| search | string | Search name, description, tags | ?search=rudraksha |
| category | string | Filter by category | ?category=bracelets |
| min_price | number | Min price filter | ?min_price=100 |
| max_price | number | Max price filter | ?max_price=5000 |
| sort | string | Sort options: price_asc, price_desc, newest, oldest | ?sort=price_desc |
| in_stock | boolean | Filter only in-stock items | ?in_stock=true |
{
"meta": {
"total": 50,
"page": 1,
"limit": 10,
"totalPages": 5
},
"data": [
{
"product_id": "prod_001",
"sku": "RUD-IND-02M",
"basic_info": {
"name": "2-Mukhi Rudraksh (Indian)",
...
},
...
}
]
}POST /api/v1/orders
{
"order_id": "ord_9f8e7d6c5b4a",
"customer_id": "cus_12345xyz",
"items": [
{
"product_id": "rud_2",
"quantity": 1,
...
}
],
...
}