Home > widget-integration > PredictiveBundleAPI > buildBundleQueryParams

PredictiveBundleAPI.buildBundleQueryParams() method

Builds the request parameters sent to the predictive bundle endpoint.

Signature:

protected buildBundleQueryParams(params: BundleQueryParams): BundleQueryParams;

Parameters

Parameter

Type

Description

params

BundleQueryParams

Base query params derived from the current storefront context.

Returns:

BundleQueryParams

Enriched query params with currency, B2B, and localization information.