Class ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString,Cart>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString>, Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Cart>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<Cart>, io.vrap.rmf.base.client.RequestCommand<Cart>

If the Cart exists in the Project but does not have the store field, or the store field references a different Store, this method returns a ResourceNotFound error.



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