u
This commit is contained in:
@@ -6,7 +6,7 @@ List supplier articles by SKUs
|
||||
|
||||
Lists article-supplier assignments for the specified supplier (entity ID),
|
||||
optionally filtered by a list of SKUs (matching either article SKU or supplier SKU).
|
||||
Includes linked article details (name, slug, photos/articlepic, eans/articleean).
|
||||
Includes linked article details (name, slug, photos, eans).
|
||||
|
||||
|
||||
## Path parameters
|
||||
@@ -51,26 +51,14 @@ List of supplier articles
|
||||
"photos": [
|
||||
{
|
||||
"sort": 1,
|
||||
"thumbhash": "…",
|
||||
"hash": "…",
|
||||
"thumbw": 1,
|
||||
"thumbh": 1
|
||||
}
|
||||
],
|
||||
"articlepic": [
|
||||
{
|
||||
"sort": 1,
|
||||
"thumbhash": "…",
|
||||
"hash": "…",
|
||||
"thumbw": 1,
|
||||
"thumbh": 1
|
||||
"fullHash": "…",
|
||||
"thumbW": 1,
|
||||
"thumbH": 1,
|
||||
"thumbHash": "…"
|
||||
}
|
||||
],
|
||||
"eans": [
|
||||
"…"
|
||||
],
|
||||
"articleean": [
|
||||
"…"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ Query supplier articles by SKUs (bulk)
|
||||
|
||||
Queries article-supplier assignments for the specified supplier (entity ID) with a
|
||||
JSON list of SKUs in the request body, avoiding URL length limits for large SKU lists.
|
||||
Includes linked article details (name, slug, photos/articlepic, eans/articleean).
|
||||
Includes linked article details (name, slug, photos, eans).
|
||||
|
||||
|
||||
## Path parameters
|
||||
@@ -60,26 +60,14 @@ List of supplier articles
|
||||
"photos": [
|
||||
{
|
||||
"sort": 1,
|
||||
"thumbhash": "…",
|
||||
"hash": "…",
|
||||
"thumbw": 1,
|
||||
"thumbh": 1
|
||||
}
|
||||
],
|
||||
"articlepic": [
|
||||
{
|
||||
"sort": 1,
|
||||
"thumbhash": "…",
|
||||
"hash": "…",
|
||||
"thumbw": 1,
|
||||
"thumbh": 1
|
||||
"fullHash": "…",
|
||||
"thumbW": 1,
|
||||
"thumbH": 1,
|
||||
"thumbHash": "…"
|
||||
}
|
||||
],
|
||||
"eans": [
|
||||
"…"
|
||||
],
|
||||
"articleean": [
|
||||
"…"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -213,18 +213,18 @@
|
||||
* nullable: true
|
||||
* SupplierArticlePhoto:
|
||||
* type: object
|
||||
* required: [sort, thumbhash, hash, thumbw, thumbh]
|
||||
* required: [sort, fullHash, thumbW, thumbH, thumbHash]
|
||||
* properties:
|
||||
* sort:
|
||||
* type: integer
|
||||
* thumbhash:
|
||||
* fullHash:
|
||||
* type: string
|
||||
* hash:
|
||||
* thumbW:
|
||||
* type: integer
|
||||
* thumbH:
|
||||
* type: integer
|
||||
* thumbHash:
|
||||
* type: string
|
||||
* thumbw:
|
||||
* type: integer
|
||||
* thumbh:
|
||||
* type: integer
|
||||
* SupplierArticleInfo:
|
||||
* type: object
|
||||
* required: [id, sku]
|
||||
@@ -243,18 +243,10 @@
|
||||
* type: array
|
||||
* items:
|
||||
* $ref: '#/components/schemas/SupplierArticlePhoto'
|
||||
* articlepic:
|
||||
* type: array
|
||||
* items:
|
||||
* $ref: '#/components/schemas/SupplierArticlePhoto'
|
||||
* eans:
|
||||
* type: array
|
||||
* items:
|
||||
* type: string
|
||||
* articleean:
|
||||
* type: array
|
||||
* items:
|
||||
* type: string
|
||||
* SupplierArticle:
|
||||
* allOf:
|
||||
* - $ref: '#/components/schemas/ArticleSupplier'
|
||||
|
||||
@@ -349,7 +349,7 @@ export function register(app, basePath = '') {
|
||||
* description: |
|
||||
* Lists article-supplier assignments for the specified supplier (entity ID),
|
||||
* optionally filtered by a list of SKUs (matching either article SKU or supplier SKU).
|
||||
* Includes linked article details (name, slug, photos/articlepic, eans/articleean).
|
||||
* Includes linked article details (name, slug, photos, eans).
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: supplier/articles.get.md
|
||||
@@ -412,7 +412,7 @@ export function register(app, basePath = '') {
|
||||
* description: |
|
||||
* Queries article-supplier assignments for the specified supplier (entity ID) with a
|
||||
* JSON list of SKUs in the request body, avoiding URL length limits for large SKU lists.
|
||||
* Includes linked article details (name, slug, photos/articlepic, eans/articleean).
|
||||
* Includes linked article details (name, slug, photos, eans).
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: supplier/articles.post.md
|
||||
|
||||
Reference in New Issue
Block a user