The Brand Collection enables searching for products under a specific brand name.
The Brand Collection accepts only singular values for the cf parameter, meaning searches can be performed using only one brand value at a time.
To use the Brand Collection type, ensure that the brand attribute in the product catalog is properly populated for accurate product retrieval.
Merchandising rules cannot be applied to the Brand Collection.
Request Parameters
The type path variable value must exactly match the example values provided in the request parameter table.
| Parameter | Description | Data Type | Required | Example |
|---|---|---|---|---|
| type | Path variable that specifies the desired product listing type | String | Yes | "Brand" |
| cf | Allows filtering of products within the specified listing type | String | Yes | cf=Niki |
| p | Partner ID. Navigate to InOne > Inone Settings > Account Preferences to copy your Partner ID. | String | Yes | |
| l | Locale is required to get your products in the current language of the website. E.g. en_US, en_GB | String | Yes | l=en_US |
| c | Products will be displayed in the given currency (The current currency selected by the end-user on your website). E.g. USD, AUD | String | Yes | c=USD |
| a | Filter the products with the following pattern: a={field}~{value} | List of String | No | a=size~38~39 |
| pf | Index indicating from which order the products will start to be listed. It is used for pagination. The default value is pf=0. | Integer | No | |
| ps | Number of products that will be returned in the response. The default value is ps=6. | Integer | No | |
| st | Sorting type of the listed products. It only takes one of the predefined sorting types. The default value is st=Relevancy. | String | No | |
| oi | The listed products will only be displayed as item IDs. The default value is oi=False | Boolean | No | |
| oc | The listed products will be displayed without their variants. The default value is false. | Boolean | No | |
| u | User ID can be found in local storage by the key name spUID. spUID, which is a stringified object and contains data and expired properties. | String | No |