1.1 KiB
1.1 KiB
GET /public/{companyId}/articles/{sku}
Public. No cookie required.
Get public article detail
Returns detailed public catalog data for a single article identified by SKU.
Path parameters
| Param | Required | Type | Description |
|---|---|---|---|
companyId |
yes | integer | Company ID |
sku |
yes | string | Article SKU |
Response 200
Article detail
{
"article": {
"id": 1,
"sku": "…",
"name": "…",
"slug": "…",
"description": "…",
"unitamount": 1,
"weight": 1,
"trackStock": true,
"unit": {},
"brand": {},
"price": {},
"prices": [
{}
],
"categories": [
{}
],
"photos": [
{}
],
"eans": [
"…"
],
"isFather": true,
"fatherSku": "…",
"variants": [
{}
]
}
}
Errors
| Status | Description |
|---|---|
| 400 | Invalid parameters — {"error":"…"} |
| 404 | Article or Company not found — {"error":"…"} |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.