Class ByProjectKeyDiscountCodesByIDPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyDiscountCodesByIDPostString,DiscountCode>
com.commercetools.api.client.ByProjectKeyDiscountCodesByIDPostString
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyDiscountCodesByIDPostString>, Deprecatable200Trait<ByProjectKeyDiscountCodesByIDPostString>, ErrorableTrait<ByProjectKeyDiscountCodesByIDPostString>, ExpandableTrait<ByProjectKeyDiscountCodesByIDPostString>, 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("")
            .execute()