REST DocumentationArticlesGET Get a single article by its id

Get a single article by its id

Returns the article’s catalogue data, including its per-language description texts.

Availability: Full version only — a Clock instance answers 404 for this endpoint.

Request

GET /api/v1/articles/{id}
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/articles/{id}' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Path parameters

  • Name
    id
    Type
    integer
    Description

    The article ID

Response

{
  "data": {
    "id": 1,
    "article_number": "ART-001",
    "name": "EU",
    "unit": "Stunde",
    "unit_price": 1.5,
    "currency": "EUR",
    "description": "Angebot|en:offer",
    "inactive": false,
    "description_en": "Professional consulting services",
    "description_fr": "Développement de logiciels",
    "description_es": "string",
    "description_pl": "string",
    "created": "2024-07-20T11:30:00.000000Z",
    "modified": "2024-07-20T12:30:00.000000Z"
  }
}

Response fields

  • Name
    id
    Type
    integer
    Description

    The article’s unique identifier.

  • Name
    article_number
    Type
    string, nullable
    Description

    The article number used to reference this article externally.

  • Name
    name
    Type
    string, nullable
    Description

    The article’s name, as shown on invoices and price lists.

  • Name
    unit
    Type
    string, nullable
    Description

    The unit this article is priced and billed in, e.g. piece or hour.

  • Name
    unit_price
    Type
    number, nullable
    Description

    The article’s price per unit, in the given currency.

  • Name
    currency
    Type
    string, nullable
    Description

    The three-letter currency code unit_price is stated in.

  • Name
    description
    Type
    string, nullable
    Description

    The article’s default description text, in the tenant’s primary language.

  • Name
    inactive
    Type
    boolean
    Description

    Whether the article has been deactivated and is hidden from new selections.

  • Name
    description_en
    Type
    string, nullable
    Description

    The article’s description text in English, for multilingual invoices.

  • Name
    description_fr
    Type
    string, nullable
    Description

    The article’s description text in French, for multilingual invoices.

  • Name
    description_es
    Type
    string, nullable
    Description

    The article’s description text in Spanish, for multilingual invoices.

  • Name
    description_pl
    Type
    string, nullable
    Description

    The article’s description text in Polish, for multilingual invoices.

  • Name
    created
    Type
    string (date-time), nullable
    Description

    When the article record was first created.

  • Name
    modified
    Type
    string (date-time), nullable
    Description

    When the article record was last changed.

Generated from the OpenAPI specification — edit the source code, not this page.