BizKitHub
DokumentationAPI-ExplorerProduct/api/v1/product/detail
getProductÖffentliche API v1

/api/v1/product/detail

Keine Beschreibung vorhanden.

productgetApiV1ProductDetail

Parameter

5 in der Query

Query-Parameter

· 5
apiKeystringPflicht

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

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
slugstringPflicht
Beispielexample_slug
currencystringOptional

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.

BeispielEUR
localestringOptional

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

Beispielcs
propertiesstringOptional

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.
BeispielorderStatistics;galleryItemsCount

Antwortschema

1 dokumentierter Statuscode

200ErfolgFull product detail from the read model.
idstringPflicht

Product code identifier.

Beispielburger
codestringPflicht

Product code identifier (same as id).

Beispielburger
namestringPflicht

Localized product name.

BeispielCheese Burger
slugstringPflicht

URL-friendly product identifier.

Beispielcheese-burger
shortDescriptionstringPflicht

Short HTML description for listings. Returned as sanitized HTML string.

longDescriptionstringPflicht

Full HTML description for product detail page. Returned as sanitized HTML string.

mainImageUrlstringOptional

URL of the main product image (original blob). Legacy field — kept for backward compatibility with clients written before issue #80. New integrations should prefer mainImage.originalUrl (identical value) alongside mainImage.lqip / mainImage.thumbUrl / mainImage.cardUrl / mainImage.heroUrl / mainImage.zoomUrl for progressive rendering.

Beispielhttps://storage.xhp.cz/...
mainImageobject | nullPflicht

Full main-image payload with all pre-rendered variants (issue #80).

Rendering contract for the FE: always paint lqip immediately as a CSS background, then progressively enhance with whichever sharp variant matches the intended display size — thumbUrl (≤ 128 px), cardUrl (≤ 480 px), heroUrl (≤ 1280 px), zoomUrl (≤ 2048 px). Fall back to originalUrl only for lightbox / download-as-image cases where the pre-rendered variants are insufficient.

Nullable slots vs. progressive rendering: every variant slot is present on the wire; null means scout hasn't rendered that particular size yet. The read model is rebuilt automatically the moment all four variants land, so a subsequent fetch will return the URLs — usually within seconds of a fresh upload, longer under scout backlog. Never fall back to originalUrl for a null variant in list UIs — that would defeat the whole point of pre-generating right-sized derivatives.

idstringPflicht

External blob token of the source image (stable across variant regenerations). Use this to correlate frontend cache keys and re-request the payload after an update.

Beispiela1b2c3d4e5f6g7h8
originalUrlstringPflicht

Public CDN URL of the original upload — always present when the product has a main image.

Format: whatever the operator uploaded (typically JPEG or PNG, occasionally WebP or AVIF). Dimensions and byte size are unbounded and depend on the source; expect anywhere from 200 KB to several MB.

Use cases:

  • Lightbox / zoom UI that needs the highest fidelity available (fallback for zoom variant).
  • Downloadable "original" link.
  • Feeds for third parties that expect an unmodified source.

Do not use the original for above-the-fold rendering or list thumbnails — the pipeline exists precisely so those cases can bind to a pre-rendered, right-sized WebP variant instead.

Beispielhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.jpg
lqipstringPflicht

Low-Quality Image Placeholder — a 32×32 WebP q40 blur encoded as a base64 data URI. Populated inline the moment the image is uploaded, so it is always present when a main image exists.

Byte range: typically 400–1400 bytes. Ships inside the JSON payload — no extra HTTP request needed to render it.

Intended use: paint immediately as a CSS background-image on the wrapper element. Once one of the sharp variants (thumbUrl, cardUrl, heroUrl, zoomUrl) finishes loading, fade it in on top; the LQIP remains behind and covers any transparent pixels.

Edge case: an empty string is possible only if the source blob was unreadable when the LQIP was generated (sharp threw and no fallback was stored). Treat empty as "no LQIP available" and skip the background paint.

Beispieldata:image/webp;base64,UklGRi4AAABXRUJQVlA4ICI…
thumbUrlstring | nullPflicht

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.

Beispielhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.thumb-webp.webp
cardUrlstring | nullPflicht

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.

Beispielhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.card-webp.webp
heroUrlstring | nullPflicht

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

Dimensions: 1280×1280 px, square, cover-cropped. Format: WebP q82. Byte range: ~50–150 KB per file.

Intended use: large product previews — desktop product-detail hero image (520–1280 px), homepage feature slots, campaign landing pages, retina 2× rendering for card-sized cells.

When null: same story as thumbUrl — variant not yet rendered by scout. If falling back, prefer cardUrl over thumbUrl when the intended display size is > ~480 px.

Beispielhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.hero-webp.webp
zoomUrlstring | nullPflicht

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

Dimensions: 2048×2048 px, square, cover-cropped. Format: WebP q82. Byte range: ~150–400 KB per file.

Intended use: lightbox / product-image zoom UI, retina 2× rendering for hero-sized cells, download-as-image feature. The largest pre-rendered variant — for anything sharper, fall back to originalUrl (unbounded, unmodified source).

When null: same story as thumbUrl — variant not yet rendered by scout. If a lightbox request comes in before zoomUrl is ready, use originalUrl as an interim fallback so the feature still works.

Beispielhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.zoom-webp.webp
mainImageThumbUrlstring | nullOptional

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.

Beispielhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.thumb-webp.webp
mainImageCardUrlstring | nullOptional

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.

Beispielhttps://storage.xhp.cz/org-slug/product/2026-08/abc123.card-webp.webp
galleryItemsobject[]Pflicht

List of product gallery media items.

Jedes Array-Element:

Product gallery media item.

type"image" | "video"Pflicht

Media type of the gallery item.

Standard: imageWerte: imagevideo
idnumberPflicht

Gallery item ID.

urlstringPflicht

Public URL of the media file.

Beispielhttps://storage.xhp.cz/...
titlestringOptional

Optional title of the gallery item.

tagstringOptional

Optional tag for grouping or filtering.

galleryItemsCountnumberPflicht

Total count of gallery items.

isVariantProductbooleanPflicht

Whether the product has variants.

variantItemsobject[]Pflicht

List of product variants (only non-sold-out).

Jedes Array-Element:

Product variant item.

idstringPflicht

Variant relation hash.

Beispielabc123
codestringPflicht

Variant code identifier.

Beispielcheese-burger
namestringPflicht

Variant display name.

BeispielCheese Burger
eanstringOptional

EAN barcode.

Beispiel8594000000001
pricenumberPflicht

Variant price (base product price + variant addition).

Beispiel250
warehouseAllQuantitynumberOptional

Available warehouse quantity for this variant.

activebooleanPflicht

Whether the product is active and visible.

b2bbooleanPflicht

Whether this is a B2B-only product.

showInFeedbooleanPflicht

Whether the product appears in public feed.

soldOutbooleanPflicht

Whether the product is sold out.

positionnumberPflicht

Display position for sorting.

Beispiel1
mainCategoryobjectOptional

Product category reference.

slugstringPflicht

URL-friendly category identifier.

Beispielsmartphone
codestringPflicht

Internal category code.

BeispielCAT-001
namestringPflicht

Localized category name.

BeispielSmartphones
categoryPathItemsobject[]Pflicht

Breadcrumb path from root to main category.

Jedes Array-Element:

Product category reference.

slugstringPflicht

URL-friendly category identifier.

Beispielsmartphone
codestringPflicht

Internal category code.

BeispielCAT-001
namestringPflicht

Localized category name.

BeispielSmartphones
categoryItemsobject[]Pflicht

All categories the product belongs to.

Jedes Array-Element:

Product category reference.

slugstringPflicht

URL-friendly category identifier.

Beispielsmartphone
codestringPflicht

Internal category code.

BeispielCAT-001
namestringPflicht

Localized category name.

BeispielSmartphones
brandIdnumberOptional

Associated brand ID.

pricenumberPflicht

Final product price including VAT.

Beispiel250
currencystringOptional

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

BeispieleCZKEUR
isRequestedLocalebooleanOptional

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

priceWithoutVatnumberPflicht

Product price excluding VAT.

Beispiel206.61
vatnumberPflicht

VAT percentage rate.

Beispiel21
standardPricePercentagenumberOptional

Standard price percentage (e.g. for discounts).

sizeWidthMmnumberOptional

Product width in millimeters.

sizeHeightMmnumberOptional

Product height in millimeters.

sizeDepthMmnumberOptional

Product depth in millimeters.

weightGramsnumberOptional

Product weight in grams.

warehouseAllQuantitynumberOptional

Total available warehouse quantity.

warehouseLimitnumberOptional

Minimum warehouse quantity threshold.

eventobjectOptional

Calendar event linked to the product.

idstringPflicht

Event code identifier.

startTimeDate | string | string | numberPflicht

Event start date and time.

Eine von 4 Varianten:
Variante 1
Date

Event start date and time.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
endTimeDate | string | string | numberPflicht

Event end date and time.

Eine von 4 Varianten:
Variante 1
Date

Event end date and time.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
isAllDaybooleanPflicht

Whether the event spans the entire day.

isBlockingbooleanPflicht

Whether the event blocks other bookings.

titlestringPflicht

Event title.

descriptionstringOptional

Event description text.

agendastringOptional

Event agenda or schedule.

urlstringOptional

External URL for the event.

locationTitlestringOptional

Name of the event location.

advanceobjectPflicht

Advanced product data.

relatedCustomersstring[]Pflicht

External IDs of related customers.

relatedProductsobject[]Pflicht

List of related products.

Jedes Array-Element:

Related product reference.

slugstringPflicht

URL slug of the related product.

namestringPflicht

Related product name.

mainImageUrlstringOptional

URL of the main image.

pricenumberPflicht

Product price.

mainCategoryobjectOptional

Product category reference.

slugstringPflicht

URL-friendly category identifier.

Beispielsmartphone
codestringPflicht

Internal category code.

BeispielCAT-001
namestringPflicht

Localized category name.

BeispielSmartphones
shortDescriptionstringOptional

Short HTML description. Returned as sanitized HTML string.

customFieldsobjectPflicht

Custom key-value fields defined by the organisation.

lastUpdateDate | string | string | numberPflicht

Timestamp of the last read model update.

Eine von 4 Varianten:
Variante 1
Date

Timestamp of the last read model update.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
orderStatisticsobjectOptional

Aggregated order statistics for the product.

totalQuantitySoldnumberPflicht

Total quantity sold across all order statuses.

statusNewnumberPflicht

Quantity in new orders.

statusProcessingnumberPflicht

Quantity in processing orders.

statusStornonumberPflicht

Quantity in canceled orders.

statusDonenumberPflicht

Quantity in completed orders.

Antwortbeispiel

application/json
{
  "id": "burger",
  "code": "burger",
  "name": "Cheese Burger",
  "slug": "cheese-burger",
  "shortDescription": "example_shortDescription",
  "longDescription": "example_longDescription",
  "mainImageUrl": "https://storage.xhp.cz/...",
  "galleryItems": [
    {
      "type": "image",
      "id": 0,
      "url": "https://storage.xhp.cz/...",
      "title": "example_title",
      "tag": "example_tag"
    }
  ],
  "galleryItemsCount": 0,
  "isVariantProduct": false,
  "variantItems": [
    {
      "id": "abc123",
      "code": "cheese-burger",
      "name": "Cheese Burger",
      "ean": "8594000000001",
      "price": 250,
      "warehouseAllQuantity": 0
    }
  ],
  "active": false,
  "b2b": false,
  "showInFeed": false,
  "soldOut": false,
  "position": 1,
  "mainCategory": {
    "slug": "smartphone",
    "code": "CAT-001",
    "name": "Smartphones"
  },
  "categoryPathItems": [
    {
      "slug": "smartphone",
      "code": "CAT-001",
      "name": "Smartphones"
    }
  ],
  "categoryItems": [
    {
      "slug": "smartphone",
      "code": "CAT-001",
      "name": "Smartphones"
    }
  ],
  "brandId": 0,
  "price": 250,
  "currency": "CZK",
  "isRequestedLocale": false,
  "priceWithoutVat": 206.61,
  "vat": 21,
  "standardPricePercentage": 0,
  "sizeWidthMm": 0,
  "sizeHeightMm": 0,
  "sizeDepthMm": 0,
  "weightGrams": 0,
  "warehouseAllQuantity": 0,
  "warehouseLimit": 0,
  "event": {
    "id": "example_id",
    "isAllDay": false,
    "isBlocking": false,
    "title": "example_title",
    "description": "example_description",
    "agenda": "example_agenda",
    "url": "example_url",
    "locationTitle": "example_locationTitle"
  },
  "advance": {
    "relatedCustomers": [
      "string"
    ]
  },
  "relatedProducts": [
    {
      "slug": "example_slug",
      "name": "example_name",
      "mainImageUrl": "example_mainImageUrl",
      "price": 0,
      "mainCategory": {
        "slug": "smartphone",
        "code": "CAT-001",
        "name": "Smartphones"
      },
      "shortDescription": "example_shortDescription"
    }
  ],
  "customFields": {},
  "orderStatistics": {
    "totalQuantitySold": 0,
    "statusNew": 0,
    "statusProcessing": 0,
    "statusStorno": 0,
    "statusDone": 0
  }
}

Anfragebeispiel

GET /api/v1/product/detail

get
curl -X GET "https://api.bizkithub.com/api/v1/product/detail?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&slug=example_slug&currency=EUR&locale=cs&properties=orderStatistics%3BgalleryItemsCount" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten