Class ByProjectKeyProductsByIDPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyProductsByIDPostString,Product>
com.commercetools.api.client.ByProjectKeyProductsByIDPostString
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyProductsByIDPostString>, Deprecatable200Trait<ByProjectKeyProductsByIDPostString>, ErrorableTrait<ByProjectKeyProductsByIDPostString>, ExpandableTrait<ByProjectKeyProductsByIDPostString>, PriceselectingTrait<ByProjectKeyProductsByIDPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Product>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<Product>, io.vrap.rmf.base.client.RequestCommand<Product>

If Price selection query parameters are provided, the selected Prices are added to the response.

A failed response can return a DuplicatePriceScope, DuplicateVariantValues, DuplicateAttributeValue, or DuplicateAttributeValues error.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product.Product>> result = apiRoot
            .withProjectKey("{projectKey}")
            .products()
            .withId("{ID}")
            .post("")
            .execute()