Class ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString

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<ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString,Cart>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString>, Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyCartsByIDPostString>, io.vrap.rmf.base.client.ClientRequestCommand<Cart>, io.vrap.rmf.base.client.RequestCommand<Cart>

Updates a Cart in the Store specified by storeKey. If the Cart exists in the Project but does not have the store field, or the store field references a different Store, a ResourceNotFound error is returned.



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