Class ByProjectKeyInStoreKeyByStoreKeyCartsPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyCartsPostString,Cart>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyCartsPostString
All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyInStoreKeyByStoreKeyCartsPostString>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCartsPostString>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyCartsPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Cart>, 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}")
            .carts()
            .post("")
            .execute()