Class ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet

All Implemented Interfaces:
AttributefilteringTrait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, LocaleprojectingTrait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, PagingTrait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, PriceselectingTrait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, ProjectionselectingvariantTrait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, QueryTrait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, SortableTrait<ByProjectKeyInStoreKeyByStoreKeyVariantProjectionsGet>, ClientRequestCommand<VariantProjectionPagedQueryResponse>, CreateHttpRequestCommand, HttpRequestCommand<VariantProjectionPagedQueryResponse>, RequestCommand<VariantProjectionPagedQueryResponse>

Queries Variant Projections in the specified Store.

Only Variants belonging to Products distributed through the Store's configured channels are returned. By default, this endpoint returns the current representation of Variants where the published flag is true.

Required access scopes:

  • To retrieve the current representation of published Variants, the view_published_products:{projectKey} scope is required.

  • To retrieve the staged representation, the API Client must have the view_products:{projectKey} scope.

  • To access Variant Projections in the context of a Store, the view_products:{projectKey}:{storeKey} scope is required.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.variant.VariantProjectionPagedQueryResponse>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .variantProjections()
            .get()
            .execute()