Skip to main content
2 of 2
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/
$cancelId = 5;//id for entry to update
$cancel = $this->_cancelFactory->create();
$cancel->load($cancelId);
$cancel->setCancelStatus('Review');
$cancel->save();

But as explained in the answers in here: Deprecated save and load methods in Abstract Model, load and save are deprecated. You should create service contracts for your module.

Marius
  • 198.5k
  • 55
  • 424
  • 833