BizKitHub
DocsAPI ReferenceShipping/bff/shipping/preview
postShippingAdmin BFF

/bff/shipping/preview

Runs the full shipping calculator against a simulated cart. Useful in the admin configurator to sanity-check the price rules before publishing. Body accepts the raw cart lines (product / variant / qty / unit gross price) and resolves weights + shipping classes from the catalog server-side.

ShippingpostBffShippingPreview

Parameters

4 body

4 total
Body · 4
countryCodestringRequired
customerIdstring | integer
salesChannelCodestring
Length: 032
itemsobject[]Required4 fields

Request

POST /bff/shipping/preview

post
curl -X POST "https://api.bizkithub.com/bff/shipping/preview" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "countryCode": "example_countryCode",
  "salesChannelCode": "example_salesChannelCode",
  "items": [
    {
      "unitPriceGross": 0
    }
  ]
}'

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key