# List of endpoints
Each feature of the API is supported by one or more endpoints. Below is a table showing the correspondence between each feature and its endpoint(s):
Feature | Method | Endpoint |
---|---|---|
Retrieve catalogue of products | GET | /products |
Retrieve product details | GET | /products/{code} |
Issue vouchers | POST | /products/{code} |
Retrieve voucher information | GET | /vouchers/{id} |
Retrieve multiple vouchers information | GET | /vouchers?id={id1},{id2},etc. |
Note that voucher information can be retrieved using two distinct endpoints: GET /vouchers/{id}
for a single voucher, and GET /vouchers?id={id1},{id2},etc.
for retrieving multiple vouchers in a single request.