Class ByProjectKeyProductDiscountsKeyByKeyHead

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

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



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .productDiscounts()
            .withKey("{key}")
            .head()
            .execute()