Home > widget-integration > BoostAPI > buildDefaultQueryParams

BoostAPI.buildDefaultQueryParams() method

Signature:

buildDefaultQueryParams(params: Record<string, string | number | boolean | Array<string | number | boolean>>, options?: {
		includeSearchQuery?: boolean;
	}): URLSearchParams;

Parameters

Parameter

Type

Description

params

Record<string, string | number | boolean | Array<string | number | boolean>>

options

{ includeSearchQuery?: boolean; }

(Optional)

Returns:

URLSearchParams