question

Jai avatar image
Jai asked Mark Mullan Deactivated commented

is there any API to know inventory track and auto-decrement stock settings?

There are two settings in inventory app (inventory -> setup) Track stock Set stock count and cost for items in Clover's Inventory app on Clover Home and your devices….. Have Clover auto-decrement stock count Have Clover automatically decrement the stock count when an item is sold….. Is there any API to retrieve these settings?. We are developing app which manages inventory, our app need to know what these settings are configured by merchant.

Inventory
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jai avatar image Jai commented ·

Is there anyone from clover side answer this forum I havant received any answer to many queries

0 Likes 0 ·

1 Answer

Mark Mullan avatar image
Mark Mullan Deactivated answered Mark Mullan Deactivated commented

Hi Jai,

Merchant.isUpdateStockEnabled() is the API you're looking for. Here is Merchant.java: https://github.com/clover/clover-android-sdk/blob/e898d14e28d5ae1a551eb590ba062d34e83d33b3/clover-android-sdk/src/main/java/com/clover/sdk/v1/merchant/Merchant.java

Hope this helps!

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Mark Mullan avatar image Mark Mullan commented ·

Merchant.isTrackStockEnabled() is its counterpart.

2 Likes 2 ·

Welcome to the
Clover Developer Community