Product Recommendation Intent
The recommendation intent that is used to generate product recommendations. You can use intent to generate product recommendations according to different strategies.
Anchor to Valid valuesValid values
- COMPLEMENTARY
- RELATED
- Anchor to COMPLEMENTARYCOMPLEMENTARY
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.
- Anchor to RELATEDRELATED
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.
Anchor to FieldsFields
- •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
productorcollectionto fetch specific resources by ID or handle. Use plural queries likeproductsorcollectionsto retrieve paginated lists with optional filtering and sorting. Thesearchandqueries enable storefront search functionality.Explore queries interactively with the GraphiQL explorer and sample query kit.