Class ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost

All Implemented Interfaces:
ConflictingTrait<ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost>, Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost>, ClientRequestCommand<CartDiscount>, CreateHttpRequestCommand, HttpRequestCommand<CartDiscount>, RequestCommand<CartDiscount>

To update a CartDiscount, you must have permissions for all Stores the CartDiscount is associated with, except when removing a Store.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.cart_discount.CartDiscount>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .cartDiscounts()
            .withId("{ID}")
            .post(null)
            .execute()