Class ByProjectKeyCartDiscountsByIDHead

All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyCartDiscountsByIDHead>, ErrorableTrait<ByProjectKeyCartDiscountsByIDHead>, ClientRequestCommand<JsonNode>, CreateHttpRequestCommand, HttpRequestCommand<JsonNode>, RequestCommand<JsonNode>

Checks if a CartDiscount exists for a given id. Returns a 200 OK status if the CartDiscount exists or a 404 Not Found otherwise.



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .cartDiscounts()
            .withId("{ID}")
            .head()
            .execute()