BizKitHub
DokumentationAPI-ExplorerOrder/api/v1/shop/order/detail
getOrderÖffentliche API v1

/api/v1/shop/order/detail

Public order detail addressed by the 32-char order hash. No API key is required — anyone with the hash (typically an emailed link) can read this. The response is enriched with all context a frontend typically needs to render an order page: prices (base + delivery + payment), payment progress (paidAmount), issued accounting documents (documents), full order timeline (events), tags, customer identity/tax info, order kind and group code, plus both the public and internal notes.

⚠ internalNotice carries organisation-internal context. Never display it to the paying customer — gate its rendering behind an operator role in the consuming frontend.

ordergetApiV1ShopOrderDetail

Parameter

1 in der Query

Query-Parameter

· 1
hashstringPflicht
Beispielexample_hash

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
exist"true"Pflicht

Indicator of whether the order exists.

idstringPflicht

Order number for system identification.

Beispiel25000087
hashstringPflicht

Unique hash of the order.

BeispielsSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S
localestringPflicht

Communication locale code — controls the language of textual data (product names, descriptions, articles, storefront UI, transactional e-mails).

Preferred format: BCP 47 language tag — language[-Script][-REGION]. Use the full tag whenever the script or region matters:

  • en-GB vs. en-US (British vs. American spelling)
  • pt-PT vs. pt-BR (European vs. Brazilian Portuguese)
  • zh-Hans vs. zh-Hant (Simplified vs. Traditional Chinese)
  • sr-Latn vs. sr-Cyrl (Latin vs. Cyrillic Serbian)

Backwards-compatible fallback: the bare two-letter ISO 639-1 code (cs, en, pl, …) is accepted indefinitely — legacy clients that only send the language subtag continue to work unchanged.

Resolution algorithm (server-side): the input is resolved against the supported locale list via the [RFC 4647 Lookup] progressive-fallback strategy — trailing subtags are stripped one by one until a supported locale is found. Example: en-GB-oxendict → en-GB → en (matched). If no subtag combination is supported, the request is rejected.

Currently supported locales: cs, en, fr, it, pl, de, sk, sv, es, zh, ja, uk, da, hu, ro, nl, pt, fi, nb, hr. Region-specific variants (e.g. en-GB, pt-BR) are accepted and resolved to their base language when the exact variant is not registered separately.

Länge: 2–35
Beispielecsenen-GBpt-BRzh-Hans
kind"commerce" | "registration"Pflicht

Behavioral category of the order (see POST /order/create). commerce for a standard order, registration for a sign-up / event admission. Lets the frontend swap copy and CTAs.

Standard: commerceWerte: commerceregistration
groupCodestringOptional

Organisation-defined order group code (shop__order_group.code).

Beispielbranch-vinohrady
payDateDate | string | string | numberOptional

Date and time of order payment.

Eine von 4 Varianten:
Variante 1
Date

Date and time of order payment.

Beispiel2025-01-10T16:19:41.675Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
dueDateDate | string | string | numberOptional

Due date for payment. Used for bank-transfer flows and displayed on the order detail.

Eine von 4 Varianten:
Variante 1
Date

Due date for payment. Used for bank-transfer flows and displayed on the order detail.

Beispiel2025-01-24T00:00:00.000Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
statusobjectPflicht
labelstringPflicht

Public status label defined by the organization and order group.

BeispielPaid
colorstringPflicht
Beispiel#1e90ff
onlinePaymentStatusstringOptional
BeispieleCREATEDPAIDCANCELEDPAYMENT_METHOD_CHOSENTIMEOUTEDAUTHORIZEDREFUNDEDPARTIALLY_REFUNDED
onlinePaymentStatusLabelstringOptional
BeispielePlatba vytvořenaPlatba uhrazenaPlatba zamítnutaPlatební metoda potvrzenaPlatbě vypršela životnostPlatba předautorizovánaPlatba vrácenaPlatba částečně vrácena
onlinePaymentCheckingbooleanPflicht

Indicator of whether online payment checking is in progress.

Beispielfalse
variableSymbolstringPflicht

Unique bank/invoice variable symbol across all organisation.

Beispiel25000087
internalNoticestringOptional

Organisation-internal note attached to the order. Never surfaced to the paying customer — the endpoint is public by hash, so a frontend that shows this must gate it behind an operator role.

BeispielPriorita, dohodnuto s klientem po telefonu.
publicNoticestringOptional

Public note for the order.

BeispielThank you for your order.
shipNotBeforestringOptional

Postponed shipping: the order ships no earlier than this day (YYYY-MM-DD, Europe/Prague). Absent = ships as usual. Safe to show to the customer.

Beispiel2026-12-15
insertedDateDate | string | string | numberPflicht

Date and time the order was created.

Eine von 4 Varianten:
Variante 1
Date

Date and time the order was created.

Beispiel2025-01-10T16:19:40.150Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
updatedDateDate | string | string | numberPflicht

Date and time the order was last updated.

Eine von 4 Varianten:
Variante 1
Date

Date and time the order was last updated.

Beispiel2025-01-10T16:30:07.172Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
expirationDateDate | string | string | numberOptional

Date and time of order expiration. If this time is reached and the order is not paid, it will be automatically canceled.

Eine von 4 Varianten:
Variante 1
Date

Date and time of order expiration. If this time is reached and the order is not paid, it will be automatically canceled.

Beispiel2025-01-12T16:19:40.150Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
priceobjectPflicht
priceWithVatnumberPflicht

Cena s DPH.

Beispiel0
currencystringPflicht

Currency code. Format: 3-letter uppercase code (e.g. CZK).
Supported values: CZK, EUR, USD.

BeispieleCZKEURUSD
priceWithoutVatnumberPflicht

Cena bez DPH.

Beispiel0
vatnumberPflicht

Výše DPH v procentech.

Beispiel21
currencyLocalestringPflicht

Místní označení měny.

BeispielKč
saleobjectPflicht
priceWithVatnumberPflicht

Cena s DPH.

Beispiel0
currencystringPflicht

Currency code. Format: 3-letter uppercase code (e.g. CZK).
Supported values: CZK, EUR, USD.

BeispieleCZKEURUSD
priceWithoutVatnumberPflicht

Cena bez DPH.

Beispiel0
vatnumberPflicht

Výše DPH v procentech.

Beispiel21
currencyLocalestringPflicht

Místní označení měny.

BeispielKč
deliveryPriceobjectOptional
priceWithVatnumberPflicht

Cena s DPH.

Beispiel0
currencystringPflicht

Currency code. Format: 3-letter uppercase code (e.g. CZK).
Supported values: CZK, EUR, USD.

BeispieleCZKEURUSD
priceWithoutVatnumberPflicht

Cena bez DPH.

Beispiel0
vatnumberPflicht

Výše DPH v procentech.

Beispiel21
currencyLocalestringPflicht

Místní označení měny.

BeispielKč
paymentPriceobjectOptional
priceWithVatnumberPflicht

Cena s DPH.

Beispiel0
currencystringPflicht

Currency code. Format: 3-letter uppercase code (e.g. CZK).
Supported values: CZK, EUR, USD.

BeispieleCZKEURUSD
priceWithoutVatnumberPflicht

Cena bez DPH.

Beispiel0
vatnumberPflicht

Výše DPH v procentech.

Beispiel21
currencyLocalestringPflicht

Místní označení měny.

BeispielKč
paidAmountobjectPflicht

Screen-friendly summary of the paid / refunded / remaining amounts.

totalReceivednumberPflicht

Cumulative amount already received.

Beispiel1200
refundednumberPflicht

Total amount refunded to the customer.

Beispiel0
remainingnumberPflicht

Remaining amount to be paid (order price − totalReceived, clamped to 0).

Beispiel0
customerobjectOptional
emailstringOptional

Contact email address.

The system validates the input as a standard email address and automatically applies normalization and canonicalization.

All API responses return the normalized form, and each email address is unique per organisation within the system.

Phone-only contacts: Since 2026-06-10 a contact may exist without an e-mail when it was registered only by phone (e.g. imports of phone-only records). Responses that expose such contacts use API_EMAIL_NULLABLE instead, where this field can be null. Endpoints that accept e-mail as input still require a valid value here — phone-only creation goes through admin-only import / BFF flows.

phonestringOptional

Customer phone number.

Beispiel+420 777123456
firstNamestringOptional

Customer first name.

BeispielJan
lastNamestringOptional

Customer last name.

BeispielBarášek
companyNamestringOptional

Name of the customer's company.

BeispielCompany Ltd.
icstringOptional

Company registration number (IČO).

Beispiel12345678
dicstringOptional

Tax identification number (DIČ).

BeispielCZ12345678
premiumbooleanPflicht

Indicator of whether the customer is premium.

Beispielfalse
externalIdSha256stringOptional

Lowercase hex SHA-256 of the customer reference number (cuRefNo). Stable per customer and organisation; ready to send as Meta CAPI user_data.external_id without further hashing.

Beispiel9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
itemsobject[]Pflicht
Jedes Array-Element:
idstringPflicht

Order item ID.

BeispielsSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S_4186
isStornobooleanPflicht

Indicator of whether the item is canceled.

Beispielfalse
labelstringPflicht

Order item description as HTML.

BeispielGymRoom reservation
countnumberPflicht

Number of items.

Beispiel1
priceobjectPflicht
priceWithVatnumberPflicht

Cena s DPH.

Beispiel0
currencystringPflicht

Currency code. Format: 3-letter uppercase code (e.g. CZK).
Supported values: CZK, EUR, USD.

BeispieleCZKEURUSD
priceWithoutVatnumberPflicht

Cena bez DPH.

Beispiel0
vatnumberPflicht

Výše DPH v procentech.

Beispiel21
currencyLocalestringPflicht

Místní označení měny.

BeispielKč
unitstringPflicht

Item units.

Beispielks
vatnumberOptional
creditAmountnumberPflicht

Credit value of the item.

Beispiel0
productCodestringOptional
productNamestringOptional
productMainImageUrlstringOptional
Beispielhttps://storage.xhp.cz/...
variantCodestringOptional
variantNamestringOptional
eventCalendarCodestringOptional
eventCodestringOptional
eventTitlestringOptional
branchstringOptional

Slug of the branch (pobočka) this line item was attributed to.

Beispielgymroom-plzen
bundleItemsobject[]Optional

Present only when this line is a product bundle (sada): the components it was expanded into. The bundle line carries the price; components are informational (price 0) and are the lines that get reserved and shipped from the warehouse.

Jedes Array-Element:
idstringPflicht

Order item ID of the component line.

isStornobooleanPflicht

Storno state (always equal to the bundle line).

labelstringPflicht

Component description as HTML.

BeispielProtein shaker
countnumberPflicht

Units of the component (bundle count × quantity).

Beispiel2
productCodestringOptional
productNamestringOptional
variantCodestringOptional
variantNamestringOptional
vouchersobject[]Pflicht

Vouchers redeemed on this order. Their monetary effect (if any) is already reflected in items as a negative-priced row; this field is the canonical audit list of the codes themselves.

Jedes Array-Element:
codestringPflicht

Voucher code that was redeemed on the order.

BeispielSUMMER-15
type"fixed" | "percentage" | "free-credit" | "free-product"Pflicht

Voucher type. fixed / percentage discount the order total (visible as a negative line item); free-credit grants credits to the customer account; free-product grants a product line item.

Standard: fixedWerte: fixedpercentagefree-creditfree-product
valuestringPflicht

Type-dependent payload value. For fixed the discount amount in order currency, for percentage the percentage rate, for free-credit the credit amount.

Beispiele150103000
isOrderSingletonbooleanPflicht

Whether this voucher cannot be combined with other vouchers on the same order.

Beispielfalse
currencystringPflicht
BeispielCZK
tagsobjectPflicht
attributionobjectOptional

Checkout attribution sent in POST /order/create (attribution). Present only when at least one value was stored. Use it server-side to enrich conversion events such as Meta CAPI Purchase.

fbcstringOptional

Meta click ID (_fbc cookie or fb.1.<ms>.<fbclid> built from the landing URL).

Beispielfb.1.1730530000000.IwAR2abc
fbpstringOptional

Meta browser ID (_fbp cookie).

Beispielfb.1.1730530000000.123456789
eventSourceUrlstringOptional

Absolute http(s) URL of the page where the order was placed.

Beispielhttps://gymroom.cz/rezervace/smichov
clientUserAgentstringOptional

Browser user agent.

BeispielMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)
documentsobject[]Pflicht

All files attached to the order (shop__order_file) — accounting documents (invoices, receipts, proformas), calendar events (.ics), delivery notes and arbitrary operator uploads. Each row carries the download URL and blob metadata; accounting rows additionally carry invoice metadata (type, sequenceNumber, issueDate, dueDate, paidDate, total, currency).

Jedes Array-Element:
idstringPflicht

Blob token — URL-safe stable identifier of the underlying storage object.

BeispielNa60Mbk8LwJIGxsns1JK3TnSE268qVa1
labelstringPflicht

Human-friendly label from shop__order_file.label; falls back to the blob filename.

Beispielreceipt-26000001.pdf
filenamestringPflicht
Beispielreceipt_26000001.pdf
downloadUrlstringPflicht

Direct download link resolved via resolveBlobList (storage-slug scoped).

Beispielhttps://storage.xhp.cz/org-slug/receipt/2026-01/26000001_....pdf
sizenumberPflicht

File size in bytes.

Beispiel52771
contentTypestringPflicht
Beispieleapplication/pdftext/calendar
insertedDateDate | string | string | numberPflicht

When the file was attached to the order.

Eine von 4 Varianten:
Variante 1
Date

When the file was attached to the order.

Beispiel2026-06-10T08:03:21.571Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
typestringOptional

Accounting document type (shop__invoice_type.type). Present only when this file is a rendered invoice / receipt / proforma; absent for arbitrary attachments (e.g. calendar .ics).

Beispieleinvoicereceiptproforma
sequenceNumberstringOptional

Organisation-scoped invoice sequence number. Present only for accounting documents.

Beispiel2025-000123
issueDateDate | string | string | numberOptional
Eine von 4 Varianten:
Variante 1
Date
Beispiel2025-01-10T16:19:41.675Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
dueDateDate | string | string | numberOptional
Eine von 4 Varianten:
Variante 1
Date
Beispiel2025-01-24T00:00:00.000Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
paidDateDate | string | string | numberOptional
Eine von 4 Varianten:
Variante 1
Date
Beispiel2025-01-12T09:00:00.000Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
totalnumberOptional
Beispiel1210
currencystringOptional
BeispielCZK
shipmentsobject[]Pflicht

Parcels shipped for the order (cancelled and draft parcels are omitted), newest first. Render them as a "Track your parcel" block.

Jedes Array-Element:
carrierNamestringPflicht
BeispielGLS
trackingNumberstringOptional
Beispiel5042379086
trackingUrlstringOptional

Carrier's public tracking page. Absent when the carrier has none.

Beispielhttps://gls-group.com/CZ/cs/sledovani-zasilek?match=5042379086
statestringPflicht

Current parcel state as last reported by the carrier: created, handed_over, in_transit, ready_for_pickup, delivered, returned, failed.

Beispielin_transit
insertedDatestringPflicht

When the parcel was created.

Beispiel2026-11-07T10:15:00.000Z
eventsobject[]Pflicht

Chronological order timeline (status transitions, payment attempts, bank matches, issued documents). Internal-only rows are stripped — safe to render as a public activity feed.

Jedes Array-Element:
type"statusHistory" | "onlinePayment" | "bankTransaction" | "accountingDocument"Pflicht

Timeline event kind (status flip, gateway callback, bank match, document issued).

Standard: statusHistoryWerte: statusHistoryonlinePaymentbankTransactionaccountingDocument
labelstringPflicht
BeispielOrder marked as paid
descriptionstringOptional
BeispielManual credit — cash on delivery.
dateDate | string | string | numberPflicht
Eine von 4 Varianten:
Variante 1
Date
Beispiel2025-01-11T12:04:00.000Z
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
color"primary" | "error" | "info" | "success"Optional
Standard: primaryWerte: primaryerrorinfosuccess
linksobjectPflicht
onlinePaymentLinkstringOptional

Link to online payment of the order.

Beispielhttps://bizkithub.com/order/pay?hash=sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S
returnUrlstringOptional

URL to which the customer is redirected after successful payment.

Beispielhttps://gymroom.cz/eshop/dekujeme-eshop
Variante 2
exist"false"Pflicht

Antwortbeispiel

application/json
{
  "exist": true,
  "id": "25000087",
  "hash": "sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S",
  "locale": "cs",
  "kind": "commerce",
  "groupCode": "branch-vinohrady",
  "payDate": "2025-01-10T16:19:41.675Z",
  "dueDate": "2025-01-24T00:00:00.000Z",
  "status": {
    "label": "Paid",
    "color": "#1e90ff",
    "onlinePaymentStatus": "CREATED",
    "onlinePaymentStatusLabel": "Platba vytvořena",
    "onlinePaymentChecking": false
  },
  "variableSymbol": "25000087",
  "internalNotice": "Priorita, dohodnuto s klientem po telefonu.",
  "publicNotice": "Thank you for your order.",
  "shipNotBefore": "2026-12-15",
  "insertedDate": "2025-01-10T16:19:40.150Z",
  "updatedDate": "2025-01-10T16:30:07.172Z",
  "expirationDate": "2025-01-12T16:19:40.150Z",
  "price": {
    "priceWithVat": 0,
    "currency": "CZK",
    "priceWithoutVat": 0,
    "vat": 21,
    "currencyLocale": "Kč"
  },
  "sale": {
    "priceWithVat": 0,
    "currency": "CZK",
    "priceWithoutVat": 0,
    "vat": 21,
    "currencyLocale": "Kč"
  },
  "deliveryPrice": {
    "priceWithVat": 0,
    "currency": "CZK",
    "priceWithoutVat": 0,
    "vat": 21,
    "currencyLocale": "Kč"
  },
  "paymentPrice": {
    "priceWithVat": 0,
    "currency": "CZK",
    "priceWithoutVat": 0,
    "vat": 21,
    "currencyLocale": "Kč"
  },
  "paidAmount": {
    "totalReceived": 1200,
    "refunded": 0,
    "remaining": 0
  },
  "customer": {
    "email": "[email protected]",
    "phone": "+420 777123456",
    "firstName": "Jan",
    "lastName": "Barášek",
    "companyName": "Company Ltd.",
    "ic": "12345678",
    "dic": "CZ12345678",
    "premium": false,
    "externalIdSha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
  },
  "items": [
    {
      "id": "sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S_4186",
      "isStorno": false,
      "label": "GymRoom reservation",
      "count": 1,
      "price": {
        "priceWithVat": 0,
        "currency": "CZK",
        "priceWithoutVat": 0,
        "vat": 21,
        "currencyLocale": "Kč"
      },
      "unit": "ks",
      "vat": 0,
      "creditAmount": 0,
      "productCode": "example_productCode",
      "productName": "example_productName",
      "productMainImageUrl": "https://storage.xhp.cz/...",
      "variantCode": "example_variantCode",
      "variantName": "example_variantName",
      "eventCalendarCode": "example_eventCalendarCode",
      "eventCode": "example_eventCode",
      "eventTitle": "example_eventTitle",
      "branch": "gymroom-plzen",
      "bundleItems": [
        {
          "id": "example_id",
          "isStorno": false,
          "label": "Protein shaker",
          "count": 2,
          "productCode": "example_productCode",
          "productName": "example_productName",
          "variantCode": "example_variantCode",
          "variantName": "example_variantName"
        }
      ]
    }
  ],
  "vouchers": [
    {
      "code": "SUMMER-15",
      "type": "fixed",
      "value": "150",
      "isOrderSingleton": false,
      "currency": "CZK"
    }
  ],
  "tags": {},
  "attribution": {
    "fbc": "fb.1.1730530000000.IwAR2abc",
    "fbp": "fb.1.1730530000000.123456789",
    "eventSourceUrl": "https://gymroom.cz/rezervace/smichov",
    "clientUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"
  },
  "documents": [
    {
      "id": "Na60Mbk8LwJIGxsns1JK3TnSE268qVa1",
      "label": "receipt-26000001.pdf",
      "filename": "receipt_26000001.pdf",
      "downloadUrl": "https://storage.xhp.cz/org-slug/receipt/2026-01/26000001_....pdf",
      "size": 52771,
      "contentType": "application/pdf",
      "insertedDate": "2026-06-10T08:03:21.571Z",
      "type": "invoice",
      "sequenceNumber": "2025-000123",
      "issueDate": "2025-01-10T16:19:41.675Z",
      "dueDate": "2025-01-24T00:00:00.000Z",
      "paidDate": "2025-01-12T09:00:00.000Z",
      "total": 1210,
      "currency": "CZK"
    }
  ],
  "shipments": [
    {
      "carrierName": "GLS",
      "trackingNumber": "5042379086",
      "trackingUrl": "https://gls-group.com/CZ/cs/sledovani-zasilek?match=5042379086",
      "state": "in_transit",
      "insertedDate": "2026-11-07T10:15:00.000Z"
    }
  ],
  "events": [
    {
      "type": "statusHistory",
      "label": "Order marked as paid",
      "description": "Manual credit — cash on delivery.",
      "date": "2025-01-11T12:04:00.000Z",
      "color": "primary"
    }
  ],
  "links": {
    "onlinePaymentLink": "https://bizkithub.com/order/pay?hash=sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7S",
    "returnUrl": "https://gymroom.cz/eshop/dekujeme-eshop"
  }
}

Anfragebeispiel

GET /api/v1/shop/order/detail

get
curl -X GET "https://api.bizkithub.com/api/v1/shop/order/detail?hash=example_hash" \
  -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