/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
Body · 4
countryCodestringRequiredcustomerIdstring | integersalesChannelCodestringLength: 0–32
itemsobject[]Required4 fieldsRequest
POST /bff/shipping/preview
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.