Class ByProjectKeyProductsByIDPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyProductsByIDPost,Product,ProductUpdate>
com.commercetools.api.client.ByProjectKeyProductsByIDPost
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyProductsByIDPost>, Deprecatable200Trait<ByProjectKeyProductsByIDPost>, ErrorableTrait<ByProjectKeyProductsByIDPost>, ExpandableTrait<ByProjectKeyProductsByIDPost>, PriceselectingTrait<ByProjectKeyProductsByIDPost>, io.vrap.rmf.base.client.ClientRequestCommand<Product>, io.vrap.rmf.base.client.CreateHttpRequestCommand, 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(null)
            .execute()