API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

UnitHandle and IsAccessible NOT working ?


I have this code, but the UnitHandle and IsAccessible is not uppdating in e-conomic, what am I doing wrong?

$productHandle = $this->client->Product_Create(array(

'number'            => $row['vare_id'], 
'productGroupHandle' => $productGroupHandle, 
'name'              => utf8_encode($row['varenavn']),
                'UnitHandle' => array('Number'=>1),
                'IsAccessible' => true
PLS Help :-)
created Oct 8, 2014 by wibergs
20% Accept Rate
Q 6 A 2 C 0

1 Answer


You are using the method Product_Create (http://e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_Create) which only takes the minimum requirements for a product. So basically all information you provide on top of that is ignored.

Use Product_CreateFromData (http://e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_CreateFromData) instead.

answered Oct 15, 2014 by mortenanders
Visma e-conomic A/S