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

[PHP] Product_GetCostPrice and question regarding documentation for PHP

0
 

How is Product_GetCostPrice() used/called in PHP?

Can get Product_FindByNumber() to work (I think) with:

$p = $client->Product_FindByNumber(array('number'=>102));

but Product_GetCostPrice() fails no matter what? How is this function called exactly?

Also, really frustrating that there seems not to exists ANY documentation for PHP ?! Or am I missing something?

Thanks.

 

created May 14, 2014 by johndoe650
0% Accept Rate
Q 1 A 0 C 0

1 Answer

0

Hi,

You can use the function Product_GetCostPrice() in following way, it works perfect.


$r = $client->Product_GetCostPrice( array('productHandle' => array('Number'=>'102')))->Product_GetCostPriceResult;

And yes, there does not exists any detailed documentation but still following link may help.

http://e-conomic.github.io/eco-api-sdk-ref-docs/Documentation/?opendocument&kmi=iJB20N4KIP%2B8ikEUxgvAPUeDpPo%3D&mid=id%3A645-QQG-224%26token%3A_mch-www.e-conomic.dk-1403251493413-64057

answered Sep 18, 2014 by Wisdmlabs
Visma e-conomic A/S
...