Class ByProjectKeyProductsPostString

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyProductsPostString>, ErrorableTrait<ByProjectKeyProductsPostString>, ExpandableTrait<ByProjectKeyProductsPostString>, PriceselectingTrait<ByProjectKeyProductsPostString>, ClientRequestCommand<Product>, CreateHttpRequestCommand, HttpRequestCommand<Product>, RequestCommand<Product>

To create a new Product, send a representation that is going to become the initial staged and current representation of the new Product in the catalog. If Product price selection query parameters are provided, selected Prices will be added to the response. Produces the ProductCreated Message.



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