Jump to content

How to update average cost of a variant?


Goldysingh

Recommended Posts

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?

 

 

Link to comment
Share on other sites

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".

Link to comment
Share on other sites

Loyverse Point of Sale

 

 

 

 

×
×
  • Create New...