Get profile ID after using commerce_customer_profile_save() Anyone has any idea how to get the profile_id after I created a new profile using commerce_customer_profile_save() ? 

Apparently this function does not return the new profile object and I don't think it's very safe just to select last inserted profile from the database :(
Stupid me, it's in the $profile object itself.

commerce_customer_profile_save($profile);
$profile-&gt;profile_id;