Class ByProjectKeyShippingMethodsMatchingCartHead

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

Checks if an active ShippingMethod exists for the given Cart. Returns a 200 OK status if the ShippingMethod exists or a 404 Not Found otherwise.



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .shippingMethods()
            .matchingCart()
            .head()
            .withCartId(cartId)
            .execute()