Eureka: All Product Collections

Prev Next

The All Product Collection type provides a comprehensive search across all products in the catalog. It’s ideal for retrieving all products.

Unlike Category and Brand collections, the All Product collection does not require or use the cf parameter.
If the cf parameter is included in a request, the API will return a validation error, preventing the request from being processed.
Merchandising rules cannot be applied to the All Product Collection.

Validation Exception

TypeDefinitionHTTP Code
InvalidCollectionFilter
cf parameter must not be provided in the request.
400

Request Parameters

The type path variable value must exactly match the example values provided in the request parameter table.
ParameterDescriptionData TypeRequiredExample
typePath variable that specifies the desired product listing typeStringYes"AllProducts"
pPartner ID. Navigate to InOne > Inone Settings > Account Preferences to copy your Partner ID.StringYes
lLocale is required to get your products in the current language of the website. E.g. en_US, en_GBStringYesl=en_US
cProducts will be displayed in the given currency (The current currency selected by the end-user on your website). E.g., USDStringYesc=USD
aFilter the products with the following pattern: a={field}~{value}List of StringNoa=size~38~39
pfIndex indicating from which order the products will start to be listed. It is used for pagination. The default value is pf=0.IntegerNo
psNumber of products that will be returned in the response. The default value is ps=6.IntegerNo
stSorting type of the listed products. It only takes one of the predefined sorting types. The default value is st=Relevancy.StringNo
oiThe listed products will only be displayed as item IDs. The default value is oi=FalseBooleanNo
ocThe listed products will be displayed without their variants. The default value is false.BooleanNo
uUser ID can be found in local storage by the key name spUID. spUID, which is a stringified object and contains data and expired properties.StringNo