Class ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartHead

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

Checks if an active ShippingMethod that can ship to the shipping address of the given Cart exists in the given Store. 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}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .shippingMethods()
            .matchingCart()
            .head()
            .withCartId(cartId)
            .execute()