Article
Create a new article
post/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
Request body
Example request
{
"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"
}
]
}Response
Article created
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.