API Reference

Integrate MeraShop with your applications using our REST API

Base URL

https://api.merashop.in/api

Authentication

All API requests require authentication using a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_TOKEN

Authentication

POST/api/auth/login
POST/api/auth/signup
POST/api/auth/logout

Products

GET/api/products
POST/api/products
GET/api/products/:id
PATCH/api/products/:id
DELETE/api/products/:id

Orders

GET/api/orders
GET/api/orders/:id
PATCH/api/orders/:id

Customers

GET/api/customers
GET/api/customers/:id

Rate Limits

API requests are limited to 100 requests per minute per API token. If you exceed this limit, you'll receive a 429 Too Many Requests response.