Article

Get variants of an article with id

get/core/latest/articles/{article-id}/variants/{variant-id}

Request

  • Base URL: https://api.klara.ch
  • URL: https://api.klara.ch/core/latest/articles/{article-id}/variants/{variant-id}
  • Auth: one of:
    • API key in header X-API-KEY
    • HTTP bearer

Path parameters

article-idstring required
variant-idstring required

Response

Found article variant

idstring

Id of the variant

numberstring required

Article number

barcodestring

Barcode for the variant

accountingTagsstring[] required

Tags used for accounting. Articles with the same tag, same VAT case and same VAT rate are grouped together in the posting

articleSetsstring[]

Name of the article sets that the variant is included in

defaultQuantitynumber

The default quantity of the article

activeboolean

Decide if this variant is active or not

variantOptionValuesstring[]

Values for the options that this article variant represent

Example response

{
  "id": "1",
  "number": "ABC123"
}

Changes

No recorded changes to this operation across all 1 revision of this API.