BizKitHub
getProductVeřejné API v1

/api/v1/product/feed

Load full list of products from organisation database. By default, we only return basic properties for all products. If you want to return entire products, you need to specify additional properties.

Default properties (contains in all returned products): id, name, slug, shortDescription, mainImageUrl, mainImageThumbUrl, mainImageCardUrl, mainCategory, price, priceWithoutVat, vat, position, active, soldOut, warehouseAllQuantity, warehouseLimit, customFields, event.

productgetApiV1ProductFeed

Parametry

10 v query

Parametry v query

· 10
apiKeystringPovinné

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

PříkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
querystringVolitelné

Search query

Příkladiphone
currencystringVolitelné

ISO 4217 currency of returned prices (CZK, EUR, USD). Default = organisation currency. Each price is the manual price set on the product / variant for that currency, otherwise the default price converted by the organisation rate (fixed price-list rate, or the daily CNB/ECB rate) and rounded by the organisation rounding rule. Applies to price, priceWithoutVat, variantItems[].price and relatedProducts[].price; the response carries currency.

PříkladEUR
localestringVolitelné

Locale code (e.g. "cs", "en"). Returns translated read models for the given locale with fallback to default.

Příkladcs
orderBystringVolitelné

Order by indexed internal field.

Supported values: position, price, priceDesc, eventDate.

Výchozí: position
Příkladposition
categorystringVolitelné

Filter by category slug. Returns every product assigned to the category or to any of its descendant categories, both as the main category and as a secondary category. Each product is returned at most once; totalCount reflects the same filter.

Příkladsmartphone
relatedTostringVolitelné

Filter by related product slug. Returns only products linked to the product with this slug in "Related products" (either direction). Combine with category, e.g. category=lednice&relatedTo=plzen-skvrnany = fridge products of one branch. An unknown slug returns an empty list.

Příkladplzen-skvrnany
pagestringVolitelné
Výchozí: 1
Příklad1
limitstringVolitelné
Výchozí: 32
Příklad32
propertiesstringVolitelné

Add extra on demand properties separated by semicolon.

Supported values:

Property Description
orderStatistics Extra statistics data like totalQuantitySold and count of orders in states.
galleryItemsCount Count of public images in product detail.
PříkladorderStatistics;galleryItemsCount

Schéma odpovědi

1 zdokumentovaný stavový kód

200ÚspěchPaginated product feed response.
countnumberPovinné

Number of items returned on this page. For the total number of items matching the filter across all pages use totalCount.

totalCountnumberPovinné

Total number of products matching the filter (query + category), independent of page and limit. Use Math.ceil(totalCount / limit) to compute the page count.

itemsobject[]Povinné

List of product feed items.

Každá položka pole:

Product feed item. Returned properties depend on the properties query parameter.

idnumberPovinné

Internal product ID.

Příklad42
namestringPovinné

Localized product name.

PříkladCheese Burger
slugstringPovinné

URL-friendly product identifier.

Příkladcheese-burger
shortDescriptionstringVolitelné

Short HTML description.

mainImageUrlstringVolitelné

URL of the main product image (original blob). Always present when the product has a main image. For sized rendering prefer mainImageThumbUrl (128 px) or mainImageCardUrl (480 px).

mainImageThumbUrlstring | nullVolitelné

Scout-generated 128×128 WebP thumbnail URL, or null while the variant hasn't been rendered yet (see § "When null" below).

Dimensions: 128×128 px, square, cover-cropped. Format: WebP q75. Byte range: ~4–14 KB per file.

Intended use: row-level thumbnails in lists, autocomplete dropdowns, chat message previews, notification cards, mobile grid cells (60–120 px). At this size no other variant is worth requesting.

When null: the source image has been uploaded but the scout worker on the Contabo VPS hasn't finished rendering this variant yet. Fall back to the LQIP blur alone (with an optional "processing" overlay for cells ≥ 80 px). The read model is rebuilt automatically the moment all four variants land, so a subsequent fetch will return a non-null URL — usually within seconds for a fresh upload, longer under scout backlog.

Příkladhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.thumb-webp.webp
mainImageCardUrlstring | nullVolitelné

Scout-generated 480×480 WebP URL, or null while the variant hasn't been rendered yet.

Dimensions: 480×480 px, square, cover-cropped. Format: WebP q80. Byte range: ~15–45 KB per file.

Intended use: medium-sized product previews — product-detail sidebar (240–520 px), category grid tiles on mobile / small desktop, storefront cards, hover popovers, e-mail template thumbnails. The single most-used variant in typical e-shop UI.

When null: same story as thumbUrl — variant not yet rendered by scout. Prefer thumbUrl (if available) as a temporary substitute over the LQIP blur alone.

Příkladhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.card-webp.webp
mainCategoryobjectVolitelné

Product category reference.

slugstringPovinné

URL-friendly category identifier.

Příkladsmartphone
codestringPovinné

Internal category code.

PříkladCAT-001
namestringPovinné

Localized category name.

PříkladSmartphones
pricenumberPovinné

Product price including VAT.

Příklad250
priceWithoutVatnumberVolitelné

Product price excluding VAT.

currencystringVolitelné

ISO 4217 currency of every price in this object (BIZKIT-90). Equals the currency query parameter, or the organisation default currency.

PříkladyCZKEUR
isRequestedLocalebooleanVolitelné

True when the product has a translation in the requested locale; false when a fallback language is served.

vatnumberVolitelné

VAT percentage rate.

positionnumberPovinné

Display position for sorting.

Příklad1
activebooleanPovinné

Whether the product is active.

soldOutbooleanPovinné

Whether the product is sold out.

warehouseAllQuantitynumberVolitelné

Total available warehouse quantity.

warehouseLimitnumberVolitelné

Minimum warehouse quantity threshold.

customFieldsobjectVolitelné

Custom key-value fields.

eventobjectVolitelné

Calendar event linked to the product.

idstringPovinné

Event code identifier.

startTimeDate | string | string | numberPovinné

Event start date and time.

Jedna z 4 možností:
Varianta 1
Date

Event start date and time.

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
endTimeDate | string | string | numberPovinné

Event end date and time.

Jedna z 4 možností:
Varianta 1
Date

Event end date and time.

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
isAllDaybooleanPovinné

Whether the event spans the entire day.

isBlockingbooleanPovinné

Whether the event blocks other bookings.

titlestringPovinné

Event title.

descriptionstringVolitelné

Event description text.

agendastringVolitelné

Event agenda or schedule.

urlstringVolitelné

External URL for the event.

locationTitlestringVolitelné

Name of the event location.

orderStatisticsobjectVolitelné

Aggregated order statistics for the product.

totalQuantitySoldnumberPovinné

Total quantity sold across all order statuses.

statusNewnumberPovinné

Quantity in new orders.

statusProcessingnumberPovinné

Quantity in processing orders.

statusStornonumberPovinné

Quantity in canceled orders.

statusDonenumberPovinné

Quantity in completed orders.

galleryItemsCountnumberVolitelné

Count of public images in product detail.

Ukázka odpovědi

application/json
{
  "count": 0,
  "totalCount": 0,
  "items": [
    {
      "id": 42,
      "name": "Cheese Burger",
      "slug": "cheese-burger",
      "shortDescription": "example_shortDescription",
      "mainImageUrl": "example_mainImageUrl",
      "mainCategory": {
        "slug": "smartphone",
        "code": "CAT-001",
        "name": "Smartphones"
      },
      "price": 250,
      "priceWithoutVat": 0,
      "currency": "CZK",
      "isRequestedLocale": false,
      "vat": 0,
      "position": 1,
      "active": false,
      "soldOut": false,
      "warehouseAllQuantity": 0,
      "warehouseLimit": 0,
      "customFields": {},
      "event": {
        "id": "example_id",
        "isAllDay": false,
        "isBlocking": false,
        "title": "example_title",
        "description": "example_description",
        "agenda": "example_agenda",
        "url": "example_url",
        "locationTitle": "example_locationTitle"
      },
      "orderStatistics": {
        "totalQuantitySold": 0,
        "statusNew": 0,
        "statusProcessing": 0,
        "statusStorno": 0,
        "statusDone": 0
      },
      "galleryItemsCount": 0
    }
  ]
}

Ukázka požadavku

GET /api/v1/product/feed

get
curl -X GET "https://api.bizkithub.com/api/v1/product/feed?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&query=iphone&currency=EUR&locale=cs&orderBy=position&category=smartphone&relatedTo=plzen-skvrnany&page=1&limit=32&properties=orderStatistics%3BgalleryItemsCount" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč