Hello, did a fair amount of research and still having issues with the following :
$this->EE->load->library('api');
$this->EE->api->instantiate('channel_entries');
$this->EE->api->instantiate('channel_fields');
...
$this->EE->api_channel_entries->update_entry(1257,$data)Always throws an error : Could not create/update entry. Missing api parameter.
The entry_id is valid = 1257
The $data array built works fine with API’s submit_new_entry method and is populated as follows :
Array
(
[site_id] => 1
[title] => 2 Ch. des Cactus
[url_title] => M999999
[entry_date] => 2012-01-02 13:11
[field_id_66] => M99999
[field_id_67] => 2 Ch. des Cactus
[field_id_69] => $699,000
[field_id_70] => no
)Thanks for any help and happy new year btw 😊
Version info : ExpressionEngine v2.3.1 - Build: date 20111017
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.