Files
dashback/docs/api/routes/v1/product.md
2026-09-30 17:35:20 +02:00

35 lines
756 B
Markdown

# `GET /v1/product`
Protected. Requires a valid session cookie (`credentials: 'include'`).
JTL-POS product catalog synchronization
Returns product catalog with prices, stock, variants, and image hashes modified after lastChangedProduct cursor.
## Query parameters
| Param | Required | Type | Description |
|-------|----------|------|-------------|
| `lastChangedProduct` | no | string | Unix timestamp cursor of last product sync |
| `limit` | no | integer | Maximum number of products to return |
## Response `200`
Array of product objects for JTL-POS
```json
[
{}
]
```
## Errors
| Status | Description |
|--------|-------------|
| 401 | Unauthorized |
---
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._