This commit is contained in:
seb
2026-09-30 17:35:20 +02:00
parent 82cc138ba6
commit caacbe4968
9 changed files with 366 additions and 0 deletions

View File

@@ -13576,6 +13576,57 @@
}
}
},
"/v1/product": {
"get": {
"summary": "JTL-POS product catalog synchronization",
"description": "Returns product catalog with prices, stock, variants, and image hashes modified after lastChangedProduct cursor.",
"tags": [
"POS Sync"
],
"security": [
{
"BearerAuth": []
}
],
"parameters": [
{
"in": "query",
"name": "lastChangedProduct",
"schema": {
"type": "string"
},
"description": "Unix timestamp cursor of last product sync"
},
{
"in": "query",
"name": "limit",
"schema": {
"type": "integer",
"default": 50
},
"description": "Maximum number of products to return"
}
],
"responses": {
"200": {
"description": "Array of product objects for JTL-POS",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
},
"401": {
"description": "Unauthorized"
}
}
}
},
"/v1/init": {
"get": {
"tags": [
@@ -13841,6 +13892,57 @@
}
}
}
},
"/v1/category": {
"get": {
"summary": "JTL-POS category synchronization",
"description": "Returns category hierarchy modified after lastChangedCategory cursor for the authenticated POS register.",
"tags": [
"POS Sync"
],
"security": [
{
"BearerAuth": []
}
],
"parameters": [
{
"in": "query",
"name": "lastChangedCategory",
"schema": {
"type": "string"
},
"description": "Unix timestamp cursor of last category sync"
},
{
"in": "query",
"name": "limit",
"schema": {
"type": "integer",
"default": 50
},
"description": "Maximum number of categories to return"
}
],
"responses": {
"200": {
"description": "Array of category objects for JTL-POS",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
},
"401": {
"description": "Unauthorized"
}
}
}
}
},
"components": {