Files
dashback/docs/api/routes/public/_companyId/articles/_sku.md
2026-10-03 23:13:36 +02:00

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.