Personal Search
Get Preferences Weights
Changed onThis endpoint retrieves the weights corresponding to attribute preferences for computing personal product recommendations. The weights are used to personalize the product recommendations based on user preferences.
get/api/v2/preferences
Request
- Base URLhttps://world.openfoodfacts.net
- AuthAPI key in header User-Agent
Query parameters
lcstring
Example:fr
2 letter code of the language of the user. Used for localizing some fields in returned values (e.g. knowledge panels). If not passed, the language may be inferred by the domain name prefix.
Response
OK
Changes
- breaking
the response's body type changed from no type to
arrayfor status - info
added the new optional
queryrequest parameterlc
- breaking
- warning
deleted the
queryrequest parameterlc
- warning