Class ByProjectKeyInStoreKeyByStoreKeyMeCartsPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyInStoreKeyByStoreKeyMeCartsPost>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyMeCartsPost>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyMeCartsPost>, ClientRequestCommand<Cart>, CreateHttpRequestCommand, HttpRequestCommand<Cart>, RequestCommand<Cart>

The store field in the created Cart is set to the Store specified by the storeKey path parameter.

Specific Error Codes: CountryNotConfiguredInStore



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.cart.Cart>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .me()
            .carts()
            .post(null)
            .execute()