Hi all,
My client uses ATUM and I need to retrieve the data related to stock prices and quantities of each single item through the ATUM API. It all works with the normal woocommerce data and the API calls function perfectly. In my stock central dashbaord I can see there are granular data related to the purchase prices of a lot of items of the inventory but I have no idea on how to retrieve them through API calls. I read all the documentation (https://stockmanagementlabs.github.io/atum-rest-api-docs/) and I runned all the different API calls in my python local environment but I managed just to get the aggregated stock value with this call:
print(wcapi.get("atum/dashboard/current-stock-value").json())
But I need the stock quantity and prices for each single item. If I run this call, for instance the response is empty (and I understand because there are no data in the section of purchased orders neither in the UI platform interface):
print(wcapi.get("atum/purchase-orders").json())
While if I run this call:
print(wcapi.get("atum/inventories").json())
I get this response:
{'code': 'rest_no_route', 'message': 'No route was found matching the URL and request method.', 'data': {'status': 404}}
Some know how to retrieve those data related to purchase prices and stock quantities inputed in the section sotck central through API calls?
Thanks!!
Lorenzo Damiani