I am using the Podio PHP API. I am trying to get the item id from a newly created item. Unfortunately, it appears that the item_id is blank/null. I am not sure where I am going wrong. Here is my code:
$create = PodioItem::create(#####, array('title' => $_POST['title'], 'fields' => array(
"project-title" => $_POST['title'],
"status" => "1st Status"
)));
$theitemid = $create->item_id;
print $theitemid;
The item is inserted into Podio without a problem, but every time I try to print $create->item_id or insert it into a separate mysql database, it turns up as empty/null.
Anyone know where I am going wrong?