Class ByProjectKeyVariantsPostString

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