---
title: "Returns list of articles and treat a variant combination same as an article"
method: GET
path: "/core/latest/articles/article-and-variants"
tags: ["Article"]
---

# Returns list of articles and treat a variant combination same as an article

`GET /core/latest/articles/article-and-variants`

## Request

- Base URL: `https://api.klara.ch`
- URL: `https://api.klara.ch/core/latest/articles/article-and-variants`
- Auth: one of:
  - API key in header `X-API-KEY`
  - HTTP bearer

## Query parameters

- `include-quantity` boolean
- `limit` integer
- `offset` integer
- `sell-in-booking` boolean
- `sell-in-online-shop` boolean
- `use-pos` boolean

## Response `200`

List of article and variant

- ArticleAndVariant[]
  - `id` string: Id of the article
  - `name` string: Name of the article
  - `description` string: Description for the article
  - `extendedDescription` string: This description will be used for example in your online shop
  - `unit` string: Define how the article is count by
  - `barcode` string: Barcode of the article
  - `defaultQuantity` number: The default quantity of the article
  - `accountingTags` string[]: Tags used for accounting. Articles with the same tag, same VAT case and same VAT rate are grouped together in the posting
  - `articleNumber` string: Number of the article
  - `productType` 'SERVICE' | 'PRODUCTION' | 'TRADE' | 'OTHER' | 'GIFT_CARD' | 'PREPAYMENT': The product type of the article
  - `priceCategories` ArticlePriceCategory[]: Price categories of the article
    - `name` string
    - `priceIncludeVat` number
    - `priceExcludeVat` number
  - `vatRate` number: Vat rate of the article
  - `articleType` 'ARTICLE' | 'ARTICLE_SET' | 'VARIANT': Article type
  - `priceIncludeVat` number: price include vat
  - `priceExcludeVat` number: price exclude vat
  - `hasInventory` boolean: This article has inventory or not
  - `quantityInStock` number: Quantity in stock
  - `optionValues` string[]: Variant option of this article
  - `ableToOrderOutOfStock` boolean: Flag define the article is allow to order out of stock

## Other responses

- `401`: No Authorization header found or invalid token<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `403`: The current user is not allowed to access this company data<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `429`: API rate limit exceeded<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.

---

[API](https://skmtc.dev/klara/apis/klara-public-api.md) · [All operations](https://skmtc.dev/klara/apis/klara-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/klara/apis/klara-public-api/revisions/490b1a879fc2?raw)
