Low stock
    • 1 Minute to read
    • Dark
      Light

    Low stock

    • Dark
      Light

    Article summary

    Prerequisites

    The minimum stock amount and the stock amount must be configured.

    Logic

    When adding a product to the Product Catalog, the following condition is checked:

    MinimumStockAmount < stockTotalFromFile < StockAmount

    Here's what each component means:

    • stockTotalFromFile - the value retrieved from the "stockTotal" field in the import.

    • MinimumStockAmount and StockAmount - the values you've configured in the trigger.

    Examples

    Trigger settings:

    Imported data:

    productSKU

    stockTotal

    Result

    aaa-aaa-aaa

    10

    Doesn't meet the "Low stock" trigger condition because the imported value - 10 - is not lower than the configured "Stock amount" 10.

    bbb-bbb-bbb

    3

    Doesn't meet the "Low stock" trigger condition because the imported value - 3 - is not lower than the configured "Stock amount" 3.

    ccc-ccc-ccc

    2

    Doesn't meet the "Low stock" trigger condition because the imported value - 2 - is not lower than the configured "Stock amount" 3.

    ddd-ddd-ddd

    4

    Meets the "Low stock" trigger condition because the imported value - 4 - is higher than the "Minimum stock amount" 3 and lower than the configured "Stock amount" 10.


    Was this article helpful?


    What's Next