> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Inventory Page

# Type: Inventory Items Bulk More Actions Menu Params

# Link: https://dev.wix.com/docs/dashboard-extensions/dashboard-pages-built-by-wix/page-slots/stores/inventory-page/inventory-items-bulk-more-actions-menu-params.md

## Description: Use this interface in order to integrate easily with the Inventory

## Examples:

## InventoryItemsBulkMoreActionsMenuParams

Use this in the code for the page or modal opened by the [dashboard menu plugin](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/dashboard-menu-plugins/dashboard-menu-plugin-extensions.md).

```javascript
import React, { type FC } from 'react';
import { WixDesignSystemProvider, Button } from '@wix/design-system';
import '@wix/design-system/styles.global.css';
import { plugins } from "@wix/stores/dashboard";

type InventoryItemsBulkMoreActionsMenuParams = plugins.Inventory.InventoryItemsBulkMoreActionsMenuParams;

const Modal: FC<InventoryItemsBulkMoreActionsMenuParams> = (props: InventoryItemsBulkMoreActionsMenuParams) => {
  return (
    <WixDesignSystemProvider features={{ newColorsBranding: true }}>
      <Button onClick={() => 	({
    	  console.log(
	     `Total: ${componentParams.total}`, 
	     `Unchecked Ids: ${componentParams.uncheckedIds}`, 
	     `All Selected: ${componentParams.allSelected}`, 
	     `Selected Ids: ${componentParams.selectedIds}`
    	  );
    
    	})}
      >
       Click me!
      </Button>
    </WixDesignSystemProvider>
  );
};

export default Modal;
  
```

## InventoryItemsBulkMoreActionsMenuParams (self-managed)

Use this in the code for the page or modal opened by the [dashboard menu plugin](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/dashboard-menu-plugins/dashboard-menu-plugin-extensions.md)..
 Self-managed SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/set-up-a-client/about-the-wix-client.md)

```javascript
import { createClient } from "@wix/sdk";
import { dashboard } from "@wix/dashboard";
import { plugins } from "@wix/stores/dashboard";

const myWixClient = createClient({
  modules: { dashboard },
  host: dashboard.host(),
  auth: dashboard.auth(),
});

type InventoryItemsBulkMoreActionsMenuParams = plugins.Inventory.InventoryItemsBulkMoreActionsMenuParams;

myWixClient.dashboard.observeState(
  (componentParams: InventoryItemsBulkMoreActionsMenuParams) => ({
      console.log(
         `Total: ${componentParams.total}`, 
         `Unchecked Ids: ${componentParams.uncheckedIds}`, 
         `All Selected: ${componentParams.allSelected}`, 
         `Selected Ids: ${componentParams.selectedIds}`
      );
    
    })
  );
  
```

---

## Schema:

```json
 Type: | type: InventoryItemsBulkMoreActionsMenuParams
     - name: allSelected  | type: boolean | description:  Whether the **Select All** checkbox was selected. 
     - name: selectedIds  | type: Array<string> | description:  Array of GUIDs of selected items. 
     - name: total  | type: number | description:  Total number of selected items. 
     - name: uncheckedIds  | type: Array<string> | description:  When `allSelected` is `true`, an array of GUIDs of items that were manually deselected. 

```