This commit is contained in:
seb
2026-10-02 03:45:02 +02:00
parent 3f84ff2be8
commit a162feefbb
11 changed files with 169 additions and 18 deletions

View File

@@ -14531,8 +14531,9 @@
},
"photos": {
"type": "array",
"description": "Attached article photos",
"items": {
"type": "object"
"$ref": "#/components/schemas/ArticlePhoto"
}
},
"eans": {
@@ -14556,6 +14557,54 @@
}
}
},
"ArticlePhoto": {
"type": "object",
"description": "Article photo metadata",
"required": [
"sort",
"fullHash",
"fullW",
"fullH",
"fullSize",
"thumbW",
"thumbH",
"thumbHash"
],
"properties": {
"sort": {
"type": "integer",
"description": "Display sort order"
},
"fullHash": {
"type": "string",
"description": "SHA-256 hex hash of the full AVIF image"
},
"fullW": {
"type": "integer",
"description": "Width in pixels of the full image"
},
"fullH": {
"type": "integer",
"description": "Height in pixels of the full image"
},
"fullSize": {
"type": "integer",
"description": "Byte length of full AVIF"
},
"thumbW": {
"type": "integer",
"description": "Width in pixels of the thumbnail image"
},
"thumbH": {
"type": "integer",
"description": "Height in pixels of the thumbnail image"
},
"thumbHash": {
"type": "string",
"description": "Base64 thumbhash preview"
}
}
},
"ArticlePriceEntry": {
"type": "object",
"description": "Article selling price tier for a customer group (note price field is net, not price)",