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 |
Base query params derived from the current storefront context. |
Returns:
Enriched query params with currency, B2B, and localization information.