ProductOpener::APITaxonomy - implementation of APIs to return the list of available attribute groups and preferences
Only for API V0 to V2
Return a JSON structure with all available preference values for attributes.
This is used by clients that ask for user preferences to personalize filtering and ranking based on product attributes.
Sets the desired language for the user facing strings.
Only for API V3+
Return a JSON structure with all available preference values for attributes.
This is used by clients that ask for user preferences to personalize filtering and ranking based on product attributes.
Reference to the request object.
Only for API V0 to V2
Return a JSON structure with all available attribute groups and attributes, with strings (names, descriptions etc.) in a specific language, and return them in an array of attribute groups.
This is used in particular for clients of the API to know which preferences they can ask users for, and then use for personalized filtering and ranking.
Attributes with parameters such as unwanted_ingredients are not returned.
Returned attributes contain both data and strings intended to be displayed to users. This parameter sets the desired language for the user facing strings.
Only for API V3+
Return a JSON structure with all available attribute groups and attributes, with strings (names, descriptions etc.) in a specific language, and return them in an array of attribute groups.
This is used in particular for clients of the API to know which preferences they can ask users for, and then use for personalized filtering and ranking.
If the API version requested is < 3.4, then attributes with parameters such as unwanted_ingredients are not returned.
Reference to the request object.