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

Cost Price in REST API

0
I have used the SOAP api and it is very easy to get the cost price of a product, even when Inventory is enabled but I have no idea how to it using the REST api, costPrice is always zero when a product is in the inventory.

How do I get the costPrice (as shown in economic)?
created Oct 25, 2016 by Teyken
50% Accept Rate
Q 4 A 3 C 3

1 Answer

0
Hi Teyken,

Which endpoint are you referring to?

On /products I'm so far unable to replicate that result.

Are you sure that there has been made any purchases that actually set the inventory calculated cost price to anything other than 0?
You need to book a supplier invoice (GUI only) for the delivery of a product in order to have any in stock and have a cost registered.
answered Nov 2, 2016 by olej
Visma e-conomic A/S
...