Class ByProjectKeyShippingMethodsMatchingOrdereditHead

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyShippingMethodsMatchingOrdereditHead,JsonNode>
com.commercetools.api.client.ByProjectKeyShippingMethodsMatchingOrdereditHead
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyShippingMethodsMatchingOrdereditHead>, ErrorableTrait<ByProjectKeyShippingMethodsMatchingOrdereditHead>, ClientRequestCommand<JsonNode>, CreateHttpRequestCommand, HttpRequestCommand<JsonNode>, RequestCommand<JsonNode>

Checks if an active ShippingMethod that can ship to the given Location exists for the given OrderEdit. 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()
            .matchingOrderedit()
            .head()
            .withOrderEditId(orderEditId)
            .withCountry(country)
            .execute()