GET /api/products
Retrieves a list of all active products in the system, sorted by creation date (newest first).Authentication
No authentication required - this is a public endpoint.Query Parameters
No query parameters are currently supported.Response
The total number of products returned
Array of product objects
Unique product identifier
Product name
Product description
Product price (must be >= 0)
Available stock quantity (default: 0)
Product category. One of:
digital, physical, serviceImage URL for the product
Whether the product is active (default: true)
ISO 8601 timestamp of when the product was created
ISO 8601 timestamp of when the product was last updated
Example Request
Example Response
Error Responses
Error message describing what went wrong