Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Catalogue

    The items a till sells: their shelf price with VAT, their VAT rate and what is on the shelf.

    On this page

    List items

    GET /pos/v1/catalogue/items

    Returns the items of the catalogue in pages, with the shelf price (VAT included), the VAT rate and the units on the shelf. barcode finds the item that has the code, search the items whose name contains the text.

    Parameters

    NameInTypeRequiredMeaning
    barcode query string Nooptional Only the item with this barcode.
    search query string Nooptional Only items whose name contains this text.
    limit query integer Nooptional Records per page, from 1 to 500. Default 100 Range 1 – 500
    cursor query string Nooptional The nextCursor of the previous page.

    Responses

    StatusMeaningBody
    200 A page of items. ItemPage
    401 The token is missing, not valid or has ended. Error
    403 The token does not give access to this data. Error
    429 Too many requests. The request was not processed. Retry-After gives the seconds to wait. Error
    503 The service cannot answer now. Error

    Request

    curl

    curl "$RDC_BASE_URL/pos/v1/catalogue/items?limit=20" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/pos/v1/catalogue/items?limit=20`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/pos/v1/catalogue/items?limit=20',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/pos/v1/catalogue/items?limit=20');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/pos/v1/catalogue/items?limit=20");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    JSON

    {
      "items": [
        {
          "sku": "PA-0101",
          "barcode": "20001070",
          "name": "White bread, 500 g",
          "unit": "pc",
          "price": "4.80",
          "vatRate": "11",
          "currency": "RON",
          "onHand": "45"
        },
        {
          "sku": "LA-0101",
          "barcode": "20001148",
          "name": "Milk 1.5%, 1 l",
          "unit": "pc",
          "price": "7.20",
          "vatRate": "11",
          "currency": "RON",
          "onHand": "29"
        }
      ],
      "nextCursor": null
    }

    Get an item

    GET /pos/v1/catalogue/items/{sku}

    Parameters

    NameInTypeRequiredMeaning
    sku path string Yesrequired The sku of the item.

    Responses

    StatusMeaningBody
    200 The item. Item
    401 The token is missing, not valid or has ended. Error
    403 The token does not give access to this data. Error
    404 The catalogue has no item with this code. Error
    429 Too many requests. The request was not processed. Retry-After gives the seconds to wait. Error
    503 The service cannot answer now. Error

    Request

    curl

    curl "$RDC_BASE_URL/pos/v1/catalogue/items/UL-0101" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/pos/v1/catalogue/items/UL-0101`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/pos/v1/catalogue/items/UL-0101',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/pos/v1/catalogue/items/UL-0101');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/pos/v1/catalogue/items/UL-0101");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    JSON

    {
      "sku": "UL-0101",
      "barcode": "20001285",
      "name": "Sunflower oil, 1 l",
      "unit": "pc",
      "price": "9.80",
      "vatRate": "11",
      "currency": "RON",
      "onHand": "35"
    }