Class ByProjectKeyProductProjectionsByIDGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyProductProjectionsByIDGet,ProductProjection>
com.commercetools.api.client.ByProjectKeyProductProjectionsByIDGet
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyProductProjectionsByIDGet>, ErrorableTrait<ByProjectKeyProductProjectionsByIDGet>, ExpandableTrait<ByProjectKeyProductProjectionsByIDGet>, LocaleprojectingTrait<ByProjectKeyProductProjectionsByIDGet>, PriceselectingTrait<ByProjectKeyProductProjectionsByIDGet>, ProjectionselectingTrait<ByProjectKeyProductProjectionsByIDGet>, StoreprojectingTrait<ByProjectKeyProductProjectionsByIDGet>, 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. 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}")
            .productProjections()
            .withId("{ID}")
            .get()
            .execute()