35 lines
791 B
Markdown
35 lines
791 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 | Sequential ID cursor of last synced product entry (`posterminalsyncqueue.id`) |
|
|
| `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`._
|