Typescript SDK Type Docs
    Preparing search index...

    Interface InventoryEntrySetInventoryLimitsAction

    Sets the inventory limits for a specific InventoryEntry. This action allows you to define minimum and maximum quantities that can be added to a Cart. For more information, see Quantity limits.

    interface InventoryEntrySetInventoryLimitsAction {
        action: "setInventoryLimits";
        maxCartQuantity?: number;
        minCartQuantity?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setInventoryLimits"
    maxCartQuantity?: number

    Sets the maximum quantity that can be added to a Cart. If the value is absent or null the inventory limit is removed.

    minCartQuantity?: number

    Sets the minimum quantity that can be added to a Cart. If the value is absent or null the inventory limit is removed.