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