730 B
730 B
GET /article/{sku}/optionslist
Protected. Requires a valid session cookie (credentials: 'include').
Get options list for an article
Returns the available options for an article.
Path parameters
| Param | Required | Type | Description |
|---|---|---|---|
sku |
yes | string | Article SKU |
Response 200
List of options
{
"options": [
{
"id": 1,
"articleId": 1,
"sku": "…",
"name": "…",
"count": 1,
"sort": 1,
"mandated": true
}
]
}
Errors
| Status | Description |
|---|---|
| 404 | Article not found |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.