Class ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet,ProductProjection>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet>, LocaleprojectingTrait<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet>, PriceselectingTrait<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet>, ProjectionselectingTrait<ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet>, io.vrap.rmf.base.client.ClientRequestCommand<ProductProjection>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<ProductProjection>

Gets the current or staged representation of a Product by its ID from the specified Store. If the Store has defined some languages, countries, distribution or supply Channels, they are used for projections based on locale, price and inventory.

When used with an API Client that has the view_published_products:{projectKey} scope, this endpoint only returns published (current) Product Projections.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product.ProductProjection>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .productProjections()
            .withId("{ID}")
            .get()
            .execute()