I'm trying to update a channel entry using the Channel API function save_entry.
ee()->load->library('api');
ee()->api->instantiate('channel_entries');
// Create input array
$data = array('field_id_'.$this->helper->get_field_id('booking_user') => $member_relationship);
// Update booking entry
$booking = ee()->api_channel_entries->save_entry($data, $this->channel, $booking_id);
This is my code and it's giving back this error
[29-May-2014 14:53:51 UTC] array(2) {
["title"]=>
string(13) "missing_title"
["url_title"]=>
string(26) "unable_to_create_url_title"
}
I don't want to update the title because it doesn't need to be changed.
My question is how can I update a channel entry without including a title?