Personalise API

Fetch recommendations for a user

post

Fetch recommendations for a user

Authorizations
AuthorizationstringRequired

Your Product API Read-Only Key

Body
profileIdstringRequired

Unique identifier of the anonymous or known profile

Example: abcd-1234-abcd-1234
stateKeystringOptional

Use this to cache returned results by a specific key. Using this will automatically filter out any results that are in the cache on subsequent requests. Ideal when loading a page with multiple sections of recommendations where you want to avoid overlapping results per section.

Example: abcd-1234-abcd-1234
topNintegerRequired

Number of results to retrieve

Example: 10
pageintegerRequired

Page number to retrieve (defaults to 1 if not provided)

Example: 3
fallbackSearchQuerystringOptional

Fallback search query to use if no results are found for personalisation retrieval.

Example: speakeasy venues to listen to live music and have a cocktail
Responses
200

Fetched recommendations successfully

No content

post
/personalise

No content

Last updated