/api/v1/cart/detail
Returns the full cart state including items, prices, available delivery/payment methods, and their valid combinations. Creates a new cart if cartId is not provided.
cartgetApiV1CartDetail
Parameters
2 query
Query · 2
apiKeystringRequiredYour 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
cartIdstringExisting cart ID. If omitted or invalid, a new empty cart is returned.
Request
GET /api/v1/cart/detail
curl -X GET "https://api.bizkithub.com/api/v1/cart/detail?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&cartId=b411056d304d9y6mHe2SoMFBL2Apxfnb" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
JSON payload
{
"id": "b411056d304d9y6mHe2SoMFBL2Apxfnb",
"customerId": "HxanU4a1n4El61zx",
"customerName": "Jan Barášek",
"customerEmail": "jan@barasek.com",
"currency": "CZK",
"priceTotal": 12699,
"deliveryCode": "packeta",
"deliveryBranchId": 0,
"deliveryBranchProvider": "example_deliveryBranchProvider",
"paymentCode": "comgate",
"deliveryList": [
{
"name": "Zásilkovna",
"code": "packeta",
"description": "example_description",
"price": 59,
"active": true,
"selected": false
}
],
"paymentList": [
{
"name": "Online platba kartou",
"code": "comgate",
"description": "Platební brána Comgate",
"price": 0,
"active": true,
"selected": false
}
],
"deliveryAndPaymentCombinations": [
{
"deliveryCode": "packeta",
"paymentCode": "comgate"
}
],
"items": [
{
"id": "v211g68VlHP98w3s",
"label": "Coca cola zero",
"mainImageUrl": "https://storage.xhp.cz/...",
"productCode": "coca-cola",
"productSlug": "coca-cola",
"variantCode": "coca-cola-zero",
"price": {
"priceWithVat": 0,
"currency": "CZK",
"priceWithoutVat": 0,
"vat": 21,
"currencyLocale": "Kč"
},
"quantity": 4
}
]
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.