Proxy API

This API allows you to fetch the Product Description Page for products in keyword-based widget results like Search.

Path Params
string
required
Defaults to nj3rvrjr

The ID of the widget, which can be found in the Widget Configurator in the Dashboard.

Query Params
string

Unique key shared by your Bloomreach representative during integration. This is used to authenticate a merchant API call.

string
required
Defaults to 6370

Your site's numerical Bloomreach account ID. Your Bloomreach representative gives your site's account ID to you before or during your integration kickoff meeting.

string
required
Defaults to pacific_supply

Your site domain's ID, which is provided by Bloomreach during initial scoping and integration. This ID is for the domain that you want to receive your Bloomreach API requests. This parameter identifies the specific site version when the one account ID hosts multiple site versions with unique characteristics, such as language versions.

string
required
Defaults to uid%3D1251839531436%3Av%3D15.0%3Ats%3D1606749087372%3Ahc%3D13

A first-party cookie created by the Bloomreach tracking pixel library (BrTrk). This cookie creates a unique, anonymous identifier for every browser or device.

Mostly the default value provided is used, which is already encoded.

uri
required
Defaults to https%3A%2F%2Fwww.pacific.com%2Fso3005719.html

The absolute URL of the page where the request is initiated. Do not use a relative URL.

string
required
Defaults to box

Your site visitor's search query. Search queries are composed of one or more terms. You can percent encode spaces between terms as %20, or you can leave the spaces unencoded.

uri
Defaults to https%3A%2F%2Fwww.pacific.com%2Fl%2F%3Fsearchinfo%3Dps5%2520console%26mode%3Dedu%26sel%3DItem-Condition_New-Items

The URL of the page or HTTP referrer where the request is started.

string

An ID to track site visitor clicks. We recommend that you generate unique, random values of 13 digits to enable click-tracking. The request_id is also important for debugging.

string

A unique identifier for a specific view of your product catalog. If you have multiple versions of your site, each with their own product catalog characteristics like product titles and prices, then add view_id to your call. Bloomreach uses your view_id parameter value to display the right product information for your customers based on their individual site views. You can enter any string value to identify the specific site catalog view. This string must be consistent in your pixel, API, and product catalog.

string
Defaults to pid

A comma-separated list of fields to be sent in the request. Alternatively, you may configure the fields in the Widget Configurator in the Dashboard instead. This parameter is required if not sent via the Dashboard. Only the attributes passed in the fields parameter will be returned in the doc section as part of response.

integer
0 to 200
Defaults to 5

The number of matching items to return per results page in the API response. The maximum value is 200. The result size is used from the Dashboard if it is not sent in the API. To enhance performance, limit this value to the number of items that you think is reasonable for a single page of search results.

integer
≥ 0
Defaults to 3

The number of the first item on a page of results. For example, the first item on the first page is 0, making the start value also 0. The maximum value is 10000.

string

Sort order based on numeric fields. Value is a field name, followed by asc/desc for ascending/descending order respectively. For example, sort=sale_price desc sorts in descending order of the sale price.

string

The filter parameter applies a faceted filter to the returned products, searching for products that fit your parameter values. Any facet that you want to filter must be in your feed.
Attributes must be enabled and mapped by Bloomreach. Let your Bloomreach representative know which attributes in your content feed you want to apply as filters to search results.
You can filter results based on numeric ranges.
For example, &filter=(price:["100" TO "*"]).

Please note that a negative filter on ranges is not supported.

To provide multiple filters, send multiple filter parameters. For example, &filter=(price:["*" TO "100"])&filter=(color_groups: ("blue"))

string

Segment allows you to rank search results based on segment data to serve different experiences to different segments of users. Ranking happens only among items with that segment.
Example - view_id:ie

boolean

Facets are disabled by default. To enable facets, set facet=true.

Responses

400

If the query parameters are incorrect/invalid

404

Must send 404 if the widget id is not valid

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/html

© Bloomreach, Inc. All rights reserved.