Class ByProjectKeyDiscountCodesByIDPostString

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

Deprecated scope: manage_orders:{projectKey}



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