Class ByProjectKeyDiscountCodesByIDPost

All Implemented Interfaces:
ConflictingTrait<ByProjectKeyDiscountCodesByIDPost>, Deprecatable200Trait<ByProjectKeyDiscountCodesByIDPost>, ErrorableTrait<ByProjectKeyDiscountCodesByIDPost>, ExpandableTrait<ByProjectKeyDiscountCodesByIDPost>, ClientRequestCommand<DiscountCode>, CreateHttpRequestCommand, HttpRequestCommand<DiscountCode>, RequestCommand<DiscountCode>

Deprecated OAuth 2.0 Scope: manage_orders:{projectKey}



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.discount_code.DiscountCode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .discountCodes()
            .withId("{ID}")
            .post(null)
            .execute()