Class ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead

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

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



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .me()
            .activeCart()
            .head()
            .execute()