757 B
757 B
GET /article/{sku}/children
Protected. Requires a valid session cookie (credentials: 'include').
List child articles of a father article
Returns variants/children linked to this father article.
Path parameters
| Param | Required | Type | Description |
|---|---|---|---|
sku |
yes | string | Father article SKU |
Response 200
List of children
{
"children": [
{
"id": 1,
"sku": "…",
"name": "…",
"fathersort": 1,
"attributeValueId": 1,
"attributeValue": "…"
}
]
}
Errors
| Status | Description |
|---|---|
| 404 | Article not found |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.