Webiny\Component\Rest\Interfaces\CrudInterface::crudUpdate PHP Method

crudUpdate() public method

Note that the difference between crudUpdate and crudReplace is that in crudReplace, all current record attributes should be removed and the new attributes should be added, while in crudUpdate the attributes would only be added or deleted. In crudUpdate, if the record doesn't exist, it can be created.
See also: http://tools.ietf.org/html/rfc5789
public crudUpdate ( string $id ) : array | mixed
$id string Id of the record that should be replaced.
return array | mixed The updated, or created, record.
    public function crudUpdate($id);