Article
Returns article list of a company
get/core/latest/articles
Request
- Base URL: https://api.klara.ch
- URL: https://api.klara.ch/core/latest/articles
- Auth: one of:
- API key in header X-API-KEY
- HTTP bearer
Query parameters
limitinteger
Define the limit of the article list that this API returns.<br />For example, if a company have 20 articles in total, and this <b>limit</b> parameter is 5, and the <b>offset</b> parameter is 0,<br />then this API will return article list containing the first 5 articles<br />If not set, then default value of 48 is used
offsetinteger
Define which position to start getting article list.<br />For example, if a company have 20 articles in total, and this <b>offset</b> parameter is 5,<br />then this API will return article list from the 5th article.<br />If not set, then default value of 0 is used
product-type'SERVICE' | 'PRODUCTION' | 'TRADE' | 'OTHER' | 'GIFT_CARD' | 'PREPAYMENT'
Type of product used for an article
Filter articles with this product type.
Response
Articles
Example response
[
{
"id": "1",
"options": [
{
"name": "color"
}
],
"imageHrefs": [
"https://api.klara.ch/core/latest/articles/1/images/1"
],
"articleNumber": "ABC123",
"posCategories": [
{
"id": "1",
"category_href": "https://api.klara.ch/core/latest/article-categories/1",
"nameDE": "shop",
"nameEN": "shop",
"nameFR": "shop",
"nameIT": "shop"
}
],
"posFilters": [
{
"id": "1",
"filter_href": "https://api.klara.ch/core/latest/article-filters/1",
"nameDE": "shop",
"nameEN": "shop",
"nameFR": "shop",
"nameIT": "shop"
}
],
"onlineShopCategories": [
{
"id": "1",
"category_href": "https://api.klara.ch/core/latest/article-categories/1",
"nameDE": "shop",
"nameEN": "shop",
"nameFR": "shop",
"nameIT": "shop"
}
],
"onlineShopFilters": [
{
"id": "1",
"filter_href": "https://api.klara.ch/core/latest/article-filters/1",
"nameDE": "shop",
"nameEN": "shop",
"nameFR": "shop",
"nameIT": "shop"
}
],
"bookingCategories": [
{
"id": "1",
"category_href": "https://api.klara.ch/core/latest/article-categories/1",
"nameDE": "shop",
"nameEN": "shop",
"nameFR": "shop",
"nameIT": "shop"
}
],
"vats": [
{
"vatType": "NORMAL",
"vatCase": "TAXABLE_SUPPLY",
"vatCode": "1"
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.