Class ByProjectKeyRecommendationsProjectCategoriesByProductIdGet

All Implemented Interfaces:
ClientRequestCommand<ProjectCategoryRecommendationPagedQueryResponse>, CreateHttpRequestCommand, HttpRequestCommand<ProjectCategoryRecommendationPagedQueryResponse>, RequestCommand<ProjectCategoryRecommendationPagedQueryResponse>

public class ByProjectKeyRecommendationsProjectCategoriesByProductIdGet extends TypeApiMethod<ByProjectKeyRecommendationsProjectCategoriesByProductIdGet,ProjectCategoryRecommendationPagedQueryResponse>

Response Representation: PagedQueryResult with a results array of ProjectCategoryrecommendation, sorted by confidence scores in descending order and the meta information of ProjectCategoryrecommendationMeta.



   CompletableFuture<ApiHttpResponse<com.commercetools.ml.models.category_recommendations.ProjectCategoryRecommendationPagedQueryResponse>> result = apiRoot
            .withProjectKey("{projectKey}")
            .recommendations()
            .projectCategories()
            .withProductId("{productId}")
            .get()
            .execute()