Class ByProjectKeyVariantsPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyVariantsPost>, ErrorableTrait<ByProjectKeyVariantsPost>, ExpandableTrait<ByProjectKeyVariantsPost>, ClientRequestCommand<Variant>, CreateHttpRequestCommand, HttpRequestCommand<Variant>, RequestCommand<Variant>

Creates a new Variant with only the current representation. Produces the VariantCreated Message.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.variant.Variant>> result = apiRoot
            .withProjectKey("{projectKey}")
            .variants()
            .post(null)
            .execute()