App reviews, troubleshooting, and recommendations
Hi, I'm trying to build an app for my own overview's sake, that can display the actual income of previously processed orders, but I seem to be unable to obtain the cost per item from the admin api. Even the example data does not contain the cost per item - but it's the admin api and not storefront, so I see no reason to omit it:
https://shopify.dev/docs/api/admin-rest/2023-07/resources/product-variant
How do I obtain the cost per item through the admin API? (or any other way, useable in a Shopify admin app).
Solved! Go to the solution
This is an accepted solution.
Looks like it is on the InventoryItem as cost.
https://shopify.dev/docs/api/admin-rest/2023-01/resources/inventoryitem
This is an accepted solution.
Looks like it is on the InventoryItem as cost.
https://shopify.dev/docs/api/admin-rest/2023-01/resources/inventoryitem
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023