Class ByProjectKeyInStoreKeyByStoreKeyMeCartsPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyMeCartsPost,Cart,MyCartDraft>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyMeCartsPost
All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyInStoreKeyByStoreKeyMeCartsPost>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyMeCartsPost>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyMeCartsPost>, io.vrap.rmf.base.client.ClientRequestCommand<Cart>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.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()