Class ByProjectKeyProductsKeyByKeyPostString

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

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()
            .withKey("{key}")
            .post("")
            .execute()