Affects Version/s: 1.3
Fix Version/s: 1.4
Currently you can pass state_province and country to crm_create_contact like this:
'country' => 'US',
However, crm_create_location only works with the Foreign Keys:
'country_id' => 1228
We need to modify crm_create_location so it can accept the key values (same as create_contact).
You can test this w/ test/CRM/api/CRM778.php.