API Reference
Virtual Shops provides a RESTful API for programmatic access to your store.
Authentication
All API requests require authentication using an API key.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.virtualshops.com/v1/productsEndpoints
Products
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/products | List all products |
| GET | /v1/products/:id | Get a specific product |
| POST | /v1/products | Create a new product |
| PUT | /v1/products/:id | Update a product |
| DELETE | /v1/products/:id | Delete a product |
Orders
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/orders | List all orders |
| GET | /v1/orders/:id | Get a specific order |
| POST | /v1/orders | Create a new order |
Rate Limits
- 1000 requests per hour for authenticated requests
- 100 requests per hour for unauthenticated requests
Last updated on