Class ByProjectKeyRecurrencePoliciesByIDHead

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

Checks if a Recurrence Policy exists with the provided id. Returns a 200 status if the Recurrence Policy exists, or a NotFound error otherwise.

The view_recurring_orders:{projectKey} scope is deprecated for use on this endpoint. Update your clients to use the view_recurrence_policies:{projectKey} scope instead. For more information, see the Deprecations and removals list.



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