Skip to content
View in the app

A better way to browse. Learn more.

Loyverse Town

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to update average cost of a variant?

Featured Replies

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?

 

 

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.