Files
dashback/docs/api/routes/public/_companyId/articles/_sku.md
2026-10-16 18:04:42 +02:00

2.0 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": {
      "si": "…",
      "basesi": "…",
      "basesifactor": 1,
      "symbol": "…",
      "name": "…"
    },
    "brand": {
      "id": 1,
      "name": "…",
      "fullHash": "…",
      "thumbW": 1,
      "thumbH": 1,
      "thumbHash": "…"
    },
    "price": {
      "minmultiplier": 1,
      "net": 1,
      "taxRate": 1,
      "gross": 1
    },
    "prices": [
      {
        "minmultiplier": 1,
        "net": 1,
        "taxRate": 1,
        "gross": 1
      }
    ],
    "categories": [
      {
        "id": 1,
        "name": "…",
        "slug": "…"
      }
    ],
    "photos": [
      {
        "sort": 1,
        "fullHash": "…",
        "fullW": 1,
        "fullH": 1,
        "fullSize": 1,
        "thumbW": 1,
        "thumbH": 1,
        "thumbHash": "…"
      }
    ],
    "eans": [
      "…"
    ],
    "isParent": true,
    "parentSku": "…",
    "variants": [
      {
        "id": 1,
        "sku": "…",
        "sort": 1,
        "name": "…",
        "slug": "…",
        "attributeValueId": 1,
        "attributeValue": "…",
        "unitamount": 1,
        "weight": 1,
        "trackStock": true
      }
    ]
  }
}

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.