pCon.basket - Integration
    Preparing search index...

    Interface HostUserInputQuantityMessage

    Will be send if the user changes the quantity of one or more items. Can be used to adjust the entered quantity before it is applied. (SupportedAPIs.userInputQuantity has to be enabled) In response a wbk.userInputQuantityResult message has to be send back to the basket.

    interface HostUserInputQuantityMessage {
        parameter: { itemIds: string[]; newQuantitiy: number };
        type: "wbkHost.userInputQuantity";
    }

    Hierarchy (View Summary)

    Index
    parameter: { itemIds: string[]; newQuantitiy: number }

    Type Declaration

    • itemIds: string[]

      The currently selected item ids. If a sub article is selected the array will contain the main article instead.

    • newQuantitiy: number

      The quantity entered by the user.

    type: "wbkHost.userInputQuantity"