Checkio API
post/{tenantId}/v1/products/calculate-price

Calculate configuration price

Requires Authentication
Products

Calculates the total price for a product configuration including base price,

selected features, and component selections. Prices are returned in credits

(10 credits = £0.01). Tenant-specific price overrides are automatically applied.

Path Parameters

NameTypeDescription
tenantId
required
string (uuid)Tenant UUID

Request Body

required
productCode
string
required
- Product code to calculate price for
featureCodes
array
string[]
componentSelections
array
ComponentGroupSelectionInput[]
ComponentGroupSelectionInput

Responses

Configuration price with breakdown

Response Bodyapplication/json
totalPrice
integer (int64)
- Total price in credits (10 credits = £0.01)
breakdown
PriceBreakdown
basePrice
integer (int64)
- Base product price in credits
baseIsOverride
boolean
- Whether the base price is a tenant-specific override
featurePrices
array
FeaturePriceDetail[]
componentPrices
array
ComponentGroupPriceDetail[]

Code Examples

curl -X POST 'https://api-next.checkio.co.uk/{tenantId}/v1/products/calculate-price' \
  -H 'Authorization: Bearer {token}' \
  -H 'Content-Type: application/json' \
  -d '{
  "productCode": "string",
  "featureCodes": [
    "string"
  ],
  "componentSelections": [
    {
      "groupId": "00000000-0000-0000-0000-000000000000",
      "itemIds": [
        "00000000-0000-0000-0000-000000000000"
      ],
      "bundleId": "00000000-0000-0000-0000-000000000000"
    }
  ]
}'