BizKitHub
getProductPubliczne 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 w query

Parametry query

· 10
apiKeystringWymagane

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

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
querystringOpcjonalne

Search query

Przykładiphone
currencystringOpcjonalne

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.

PrzykładEUR
localestringOpcjonalne

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

Przykładcs
orderBystringOpcjonalne

Order by indexed internal field.

Supported values: position, price, priceDesc, eventDate.

Domyślnie: position
Przykładposition
categorystringOpcjonalne

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.

Przykładsmartphone
relatedTostringOpcjonalne

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.

Przykładplzen-skvrnany
pagestringOpcjonalne
Domyślnie: 1
Przykład1
limitstringOpcjonalne
Domyślnie: 32
Przykład32
propertiesstringOpcjonalne

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.
PrzykładorderStatistics;galleryItemsCount

Schemat odpowiedzi

1 udokumentowany kod statusu

200SukcesPaginated product feed response.
countnumberWymagane

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

totalCountnumberWymagane

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[]Wymagane

List of product feed items.

Każdy element tablicy:

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

idnumberWymagane

Internal product ID.

Przykład42
namestringWymagane

Localized product name.

PrzykładCheese Burger
slugstringWymagane

URL-friendly product identifier.

Przykładcheese-burger
shortDescriptionstringOpcjonalne

Short HTML description.

mainImageUrlstringOpcjonalne

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 | nullOpcjonalne

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.

Przykładhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.thumb-webp.webp
mainImageCardUrlstring | nullOpcjonalne

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.

Przykładhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.card-webp.webp
mainCategoryobjectOpcjonalne

Product category reference.

slugstringWymagane

URL-friendly category identifier.

Przykładsmartphone
codestringWymagane

Internal category code.

PrzykładCAT-001
namestringWymagane

Localized category name.

PrzykładSmartphones
pricenumberWymagane

Product price including VAT.

Przykład250
priceWithoutVatnumberOpcjonalne

Product price excluding VAT.

currencystringOpcjonalne

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

PrzykładyCZKEUR
isRequestedLocalebooleanOpcjonalne

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

vatnumberOpcjonalne

VAT percentage rate.

positionnumberWymagane

Display position for sorting.

Przykład1
activebooleanWymagane

Whether the product is active.

soldOutbooleanWymagane

Whether the product is sold out.

warehouseAllQuantitynumberOpcjonalne

Total available warehouse quantity.

warehouseLimitnumberOpcjonalne

Minimum warehouse quantity threshold.

customFieldsobjectOpcjonalne

Custom key-value fields.

eventobjectOpcjonalne

Calendar event linked to the product.

idstringWymagane

Event code identifier.

startTimeDate | string | string | numberWymagane

Event start date and time.

Jedna z 4 opcji:
Wariant 1
Date

Event start date and time.

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
endTimeDate | string | string | numberWymagane

Event end date and time.

Jedna z 4 opcji:
Wariant 1
Date

Event end date and time.

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
isAllDaybooleanWymagane

Whether the event spans the entire day.

isBlockingbooleanWymagane

Whether the event blocks other bookings.

titlestringWymagane

Event title.

descriptionstringOpcjonalne

Event description text.

agendastringOpcjonalne

Event agenda or schedule.

urlstringOpcjonalne

External URL for the event.

locationTitlestringOpcjonalne

Name of the event location.

orderStatisticsobjectOpcjonalne

Aggregated order statistics for the product.

totalQuantitySoldnumberWymagane

Total quantity sold across all order statuses.

statusNewnumberWymagane

Quantity in new orders.

statusProcessingnumberWymagane

Quantity in processing orders.

statusStornonumberWymagane

Quantity in canceled orders.

statusDonenumberWymagane

Quantity in completed orders.

galleryItemsCountnumberOpcjonalne

Count of public images in product detail.

Przykład odpowiedzi

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
    }
  ]
}

Przykład żądania

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"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API