- GET /api/v1/products - Get all products
- GET /api/v1/products/{id} - Get product by ID
- POST /api/v1/products - Create a new product
- PUT /api/v1/products/{id} - Update a product
- DELETE /api/v1/products/{id} - Delete a product
Headers:
- API Key: hfb93hf034jh897gfu
- Content-Type: application/json
Examples:
GET /api/v1/products
curl -H "API-Key: hfb93hf034jh897gfu" -H "Content-Type: application/json" -X GET https://zend-app.takiza.net/api/v1/products
GET /api/v1/products/{id}
curl -H "API-Key: hfb93hf034jh897gfu" -H "Content-Type: application/json" -X GET https://zend-app.takiza.net/api/v1/products/1
POST /api/v1/products
curl -H "API-Key: hfb93hf034jh897gfu" -H "Content-Type: application/json" -X POST -d '{"name":"Product Name", "sku":"123456", "price":100}' https://zend-app.takiza.net/api/v1/products
PUT /api/v1/products/{id}
curl -H "API-Key: hfb93hf034jh897gfu" -H "Content-Type: application/json" -X PUT -d '{"name":"Updated Product Name", "sku":"654321", "price":150}' https://zend-app.takiza.net/api/v1/products/1
DELETE /api/v1/products/{id}
curl -H "API-Key: hfb93hf034jh897gfu" -H "Content-Type: application/json" -X DELETE https://zend-app.takiza.net/api/v1/products/1