I am currently working on a project that involves using the Cost of Goods for WooCommerce Pro plugin to retrieve data via the WooCommerce API. Specifically, I am looking to retrieve the “profit total” and “cost total” data for a given day.
I noticed that you provided a solution in a support thread on how to retrieve this data from the plugin’s meta data using the “_alg_wc_cog_order_profit” and “_alg_wc_cog_order_cost” keys. However, I was wondering if there is an API endpoint available that would allow me to retrieve this data directly through the API.
If such an endpoint exists, could you please provide me with the endpoint URL and any necessary authentication keys or parameters that would be required to access it?
Thank you for your time and assistance.