GET
/products
List products
GET /products
Returns the catalog with prices and stock, paginated.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
category |
query | string | no | Filter by category slug, e.g. garden-tools. |
page |
query | integer | no | Page number, starting at 1. |
pageSize |
query | integer | no | Items per page (max 100). |
sort |
query | string | no | Sort order for the result list. |
Responses
200 — OK
| Property | Type | Required | Description |
|---|---|---|---|
items |
Product[] | yes | The products on this page. |
page |
integer | yes | Current page number. |
pageSize |
integer | yes | Requested page size. |
total |
integer | yes | Total number of products across all pages. |