Class ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead

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

Checks if a Cart exists for a given key. Returns a 200 OK status if the Cart exists or a ResourceNotFound error otherwise.



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