Class ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete,ShoppingList>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, DataerasureTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, VersionedTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, ClientRequestCommand<ShoppingList>, CreateHttpRequestCommand, HttpRequestCommand<ShoppingList>, RequestCommand<ShoppingList>

If a ShoppingList exists in a Project but does not have the store field, or the store field references a different Store, the ResourceNotFound error is returned.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.shopping_list.ShoppingList>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .shoppingLists()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()