Class ByProjectKeyProductProjectionsByIDGet

All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyProductProjectionsByIDGet>, ErrorableTrait<ByProjectKeyProductProjectionsByIDGet>, ExpandableTrait<ByProjectKeyProductProjectionsByIDGet>, LocaleprojectingTrait<ByProjectKeyProductProjectionsByIDGet>, PriceselectingTrait<ByProjectKeyProductProjectionsByIDGet>, ProjectionselectingTrait<ByProjectKeyProductProjectionsByIDGet>, StoreprojectingTrait<ByProjectKeyProductProjectionsByIDGet>, ClientRequestCommand<ProductProjection>, CreateHttpRequestCommand, HttpRequestCommand<ProductProjection>, 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()