BizKitHub
DokumentacjaEksplorator APIOrder/api/v1/shop/order/detail-full
getOrderPubliczne API v1

/api/v1/shop/order/detail-full

Full order detail for the organisation that owns the API key: the list fields plus formData exactly as submitted to POST /order/create, the internal notice and the items. Requires the API key; an order of another organisation returns 404. The public GET /order/detail (by hash, for customers) never returns formData.

ordergetApiV1ShopOrderDetail-full

Parametry

2 w query

Parametry query

· 2
apiKeystringOpcjonalne

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
hashstringWymagane

Order hash.

PrzykładDIeJ1W5NBF0KEXtamL9zpx5Hk3s79008

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
idstringWymagane

Order number.

Przykład26000005
hashstringWymagane

Unique order hash.

PrzykładDIeJ1W5NBF0KEXtamL9zpx5Hk3s79008
kindstringWymagane

Order kind (commerce | registration).

Przykładcommerce
statusobjectWymagane
codestringWymagane

Organisation-defined status code.

Przykładnabidka-odeslana
labelstringWymagane

Status name shown in the administration.

PrzykładNabídka odeslána
typestringWymagane

Status type: new | processing | done | storno.

Przykładnew
groupobjectWymagane
codestringWymagane
Przykładnabidky
namestringWymagane
PrzykładNabídky
customerobject | nullWymagane
cuRefNostringWymagane
PrzykładA1b2C3d4E5f6G7h8
namestring | nullWymagane
PrzykładJan Novák
companyNamestring | nullWymagane
PrzykładDivadlo J. K. Tyla
emailstring | nullWymagane
phonestring | nullWymagane
Przykład+420777123456
priceobjectWymagane
withVatnumberWymagane

Order total including VAT.

Przykład121000
withoutVatnumberWymagane

Order total excluding VAT, computed per item from its own VAT rate.

Przykład100000
currencystringWymagane
PrzykładCZK
isPaidbooleanWymagane
payDatestring | nullWymaganedate-time
insertedDatestringWymaganedate-time
updatedDatestringWymaganedate-time
assigneeobject | nullWymagane
cuRefNostringWymagane

Contact reference number (16 chars).

PrzykładA1b2C3d4E5f6G7h8
emailstring | nullWymagane
namestring | nullWymagane
PrzykładPetr Hlavatý
tagsobject[]Wymagane

Tags as stored (keys snake_case, values lower-cased).

Każdy element tablicy:
codestringWymagane
Przykładnabidka:nab-2026-0987
keystringWymagane
Przykładnabidka
valuestringWymagane
Przykładnab-2026-0987
parentHashstring | nullWymagane

Hash of the parent order (parentId at creation), e.g. the previous version of an offer.

PrzykładN34N21Zs0my8w1Li1BKpiBzhuuhknTqQ
shipNotBeforestring | nullWymaganedate

Postponed shipping: the order must not ship before this day (Europe/Prague calendar day). null = ship as usual.

Przykład2026-12-15
formDataobject | nullWymagane

The formData sent to POST /order/create, returned exactly as submitted. null when none was sent.

codestringWymagane
Przykładnabidkovac
dataobjectWymagane
internalNoticestring | nullWymagane

Organisation-internal note.

publicNoticestring | nullWymagane
dueDatestring | nullWymaganedate-time
expirationDatestring | nullWymaganedate-time
itemsobject[]Wymagane
Każdy element tablicy:
labelstringWymagane
countnumberWymagane
unitPriceWithVatnumberWymagane
salenumberWymagane

Discount per unit including VAT.

vatnumberWymagane

VAT rate in percent.

isStornobooleanWymagane

Przykład odpowiedzi

application/json
{
  "id": "26000005",
  "hash": "DIeJ1W5NBF0KEXtamL9zpx5Hk3s79008",
  "kind": "commerce",
  "status": {
    "code": "nabidka-odeslana",
    "label": "Nabídka odeslána",
    "type": "new"
  },
  "group": {
    "code": "nabidky",
    "name": "Nabídky"
  },
  "price": {
    "withVat": 121000,
    "withoutVat": 100000,
    "currency": "CZK"
  },
  "isPaid": false,
  "insertedDate": "example_insertedDate",
  "updatedDate": "example_updatedDate",
  "tags": [
    {
      "code": "nabidka:nab-2026-0987",
      "key": "nabidka",
      "value": "nab-2026-0987"
    }
  ],
  "items": [
    {
      "label": "example_label",
      "count": 0,
      "unitPriceWithVat": 0,
      "sale": 0,
      "vat": 0,
      "isStorno": false
    }
  ]
}

Przykład żądania

GET /api/v1/shop/order/detail-full

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