Goldysingh Posted March 27, 2024 Posted March 27, 2024 Hi, when I update a variant that has the "track stock" option enabled does updating the "cost" of the variant reflect in the back office as an average cost like it normally would or will the "Cost" UI value in the back office be replaced by the new value? Likewise, when I do a GET request for a variant or item am I getting the average cost of the item or the last value that was entered for the "Cost" field?
Yasuaki Posted March 27, 2024 Posted March 27, 2024 Hello. Yes, when you use the Advanced Inventory subscription, the "cost" field is replaced with "average cost". Therefore, you can use the "cost" parameter of the API to update the "average cost".
Recommended Posts