--- title: ProductRecommendationIntent - Storefront API description: | The recommendation intent that is used to generate product recommendations. You can use intent to generate product recommendations according to different strategies. api_version: unstable api_name: storefront source_url: html: https://shopify.dev/docs/api/storefront/unstable/enums/productRecommendationIntent md: https://shopify.dev/docs/api/storefront/unstable/enums/productRecommendationIntent.md --- # Product​Recommendation​Intent enum The recommendation intent that is used to generate product recommendations. You can use intent to generate product recommendations according to different strategies. ## Valid values * COMPLEMENTARY Offer customers products that are complementary to a product for which recommendations are to be fetched. An example is add-on products that display in a Pair it with section. * RELATED Offer customers a mix of products that are similar or complementary to a product for which recommendations are to be fetched. An example is substitutable products that display in a You may also like section. *** ## Fields * [Query​Root.productRecommendations(intent)](https://shopify.dev/docs/api/storefront/unstable/objects/QueryRoot#field-QueryRoot.fields.productRecommendations.arguments.intent) ARGUMENT The entry point for all Storefront API queries. Provides access to shop resources including products, collections, carts, and customer data, as well as content like articles and pages. This query acts as the public, top-level type from which all queries must start. Use individual queries like [`product`](https://shopify.dev/docs/api/storefront/current/queries/product) or [`collection`](https://shopify.dev/docs/api/storefront/current/queries/collection) to fetch specific resources by ID or handle. Use plural queries like [`products`](https://shopify.dev/docs/api/storefront/current/queries/products) or [`collections`](https://shopify.dev/docs/api/storefront/current/queries/collections) to retrieve paginated lists with optional filtering and sorting. The [`search`](https://shopify.dev/docs/api/storefront/current/queries/search) and [`predictiveSearch`](https://shopify.dev/docs/api/storefront/current/queries/predictiveSearch) queries enable storefront search functionality. Explore queries interactively with the [GraphiQL explorer and sample query kit](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/api-exploration). * [product​Recommendations.intent](https://shopify.dev/docs/api/storefront/unstable/queries/productRecommendations#arguments-intent) ARGUMENT *** ## Map ### Arguments with this enum * [Query​Root.productRecommendations(intent)](https://shopify.dev/docs/api/storefront/unstable/objects/QueryRoot#field-QueryRoot.fields.productRecommendations.arguments.intent) * [product​Recommendations.intent](https://shopify.dev/docs/api/storefront/unstable/queries/productRecommendations#arguments-intent)