Skip to main content

recommendMoreLikeThisProducts

Recommend products that are similar to a given product(s).

recommendMoreLikeThisProducts(
numberOfResults: Int!
productIds: [ID!]
productSlugs: [String!]
): [ProductRecommendation!]!

Arguments

recommendMoreLikeThisProducts.numberOfResults ● Int! non-null scalar

The number of results to return. Max 100.

recommendMoreLikeThisProducts.productIds ● [ID!] list scalar

The product(s) to find similar products for. If this is provided, productSlugs will be ignored.

recommendMoreLikeThisProducts.productSlugs ● [String!] list scalar

The product slug(s) to find similar products for. If productIds is not provided, this is required.

Type

ProductRecommendation object

A product that is being recommended for a requested reason.