Class ByProjectKeyProductsPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyProductsPost>, ErrorableTrait<ByProjectKeyProductsPost>, ExpandableTrait<ByProjectKeyProductsPost>, PriceselectingTrait<ByProjectKeyProductsPost>, 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 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(null)
            .execute()