@bates-solutions/clover API Reference - v1.3.0
    Preparing search index...

    Interface UpdateItemStockOptions

    Options for inventory.updateItemStock().

    interface UpdateItemStockOptions {
        idempotencyKey?: string;
        quantity: number;
    }
    Index
    idempotencyKey?: string

    Idempotency key (defaults to a generated UUID)

    quantity: number

    New stock count. Replaces the current quantity; it is not added to it.