Class ByProjectKeyDiscountCodesByIDPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyDiscountCodesByIDPost,DiscountCode,DiscountCodeUpdate>
com.commercetools.api.client.ByProjectKeyDiscountCodesByIDPost
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyDiscountCodesByIDPost>, Deprecatable200Trait<ByProjectKeyDiscountCodesByIDPost>, ErrorableTrait<ByProjectKeyDiscountCodesByIDPost>, ExpandableTrait<ByProjectKeyDiscountCodesByIDPost>, io.vrap.rmf.base.client.ClientRequestCommand<DiscountCode>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<DiscountCode>

Deprecated scope: manage_orders:{projectKey}



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