get_product_recommendations
Get product recommendations for Carrefour France. For product detail pages, retrieve 'Customers also bought' and 'You might also like' zones; for listing pages, fetch category-based suggestions.
Instructions
Retrieves product recommendations for a given page context on Carrefour France. On product detail pages (context=pdp), returns recommendation zones such as 'Customers also bought' and 'You might also like', based on the product EAN, price, categories, and facility service. On product listing pages (context=plp), returns recommendations based on categories. Returns a list of recommendation zones, each with a label and a list of recommended products. (requires an authenticated Carrefour session)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | The price of the product (in centimes or the product's price unit). Used for pdp context. | |
| context | Yes | The page context for recommendations. Use 'pdp' for product detail pages, 'plp' for product listing pages. | |
| category | No | The primary/leaf category ID for the product or page. Can be empty for plp context. | |
| scenario | No | Optional A/B test scenario identifier (e.g. 'A') to use for recommendation logic. | |
| isNonFood | No | Indicates whether the product is a non-food item. Used for pdp context. | |
| categories | No | List of category IDs associated with the product or page. Can include multiple IDs for the product's category hierarchy. | |
| product_cdbase | No | The product EAN/barcode (cdbase identifier) for which recommendations are fetched. Required for pdp context. | |
| dropExtraOffers | No | Optional flag to drop extra offers from the recommendation results. | |
| facilityServiceId | No | The facility/store service ID to scope recommendations to a specific store or drive service. |