> 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: Pool Items

# Type: Pool Item Object

# Link: https://dev.wix.com/docs/api-reference/business-solutions/benefit-programs/pool-items/pool-item-object.md

## Description: A pool item represents a specific catalog item that a beneficiary can access as part of a benefit in their pool. Pool items are created automatically when a pool is provisioned or when an item is added to a benefit, and they're removed when the pool ends or is deleted, the benefit is removed from the pool, or the item is deleted.

Each pool item links a beneficiary's pool to a single catalog item, surfacing pricing, display details, and references to the underlying pool, program, pool definition, and program definition.

## Schema:

```json
 Type: Pool Item Object | type: PoolItem
 Description: A pool item represents a specific catalog item that a beneficiary can access as part of a benefit in their pool. Pool items are created automatically when a pool is provisioned or when an item is added to a benefit, and they're removed when the pool ends or is deleted, the benefit is removed from the pool, or the item is deleted.

Each pool item links a beneficiary's pool to a single catalog item, surfacing pricing, display details, and references to the underlying pool, program, pool definition, and program definition.
       - name: id  | type: string | description: Pool item ID. Generated deterministically from `poolId` and `itemId`.
       - name: revision  | type: string | description: Revision number, which increments by 1 each time the pool item is updated.
           - name: value  | type: string | description: 
       - name: createdDate  | type: string | description: Date and time the pool item was created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the pool item was updated.
       - name: externalId  | type: string | description: External item ID assigned by the provider app.  For example, if the items are products, this ID corresponds to the specific product ID in the provider app's system.
       - name: category  | type: string | description: Item category. Groups benefit items together for organization and management. For example, `classes`, `posts`, or `groups`.
       - name: providerAppId  | type: string | description: ID of the application that provides the benefit items. Each item's `externalId` is unique within its provider application.
       - name: namespace  | type: string | description: Namespace for your app or site's benefit programs. Namespaces let you distinguish between entities that you created and entities that other apps created.
       - name: poolId  | type: string | description: ID of the pool that contains this item. A pool is the runtime container of benefits and items provisioned for a beneficiary.
       - name: programId  | type: string | description: ID of the program that contains this pool item. The program is the runtime instance of a program definition for a specific beneficiary.
           - name: value  | type: string | description: 
       - name: externalProgramId  | type: string | description: External program ID assigned by the provider.
       - name: programDefinitionId  | type: string | description: ID of the program definition that's the template for this pool item's program.
       - name: externalProgramDefinitionId  | type: string | description: External program definition ID assigned by the provider.
       - name: poolDefinitionId  | type: string | description: ID of the pool definition that's the template for this pool item's pool.
       - name: itemSetId  | type: string | description: ID of the item set that groups the items of this pool item's benefit.  To identify a benefit, use `poolId` together with `benefitKey` instead of `itemSetId`.
       - name: beneficiary  | type: IdentificationData | description: Beneficiary of the pool. The member, contact, or visitor who can access this pool item.
           - ONE-OF:
               - name: anonymousVisitorId  | type: string | description: ID of a site visitor that hasn't logged in to the site.
               - name: memberId  | type: string | description: ID of a site member.
               - name: wixUserId  | type: string | description: ID of a Wix user.
       - name: pool  | type: PoolInfo | description: Pool details, including display name and description.  Returned only when `POOL` is included in the `fields` request parameter.
           - name: displayName  | type: string | description: Pool's display name. Often matches the name on the associated pool definition.
           - name: description  | type: string | description: Pool description.
           - name: status  | type: string | description: Status of the pool that contains this item.
               enum: ACTIVE, PAUSED, ENDED, PROVISIONING, RENEWING, PENDING
           - name: creditConfiguration  | type: CreditConfiguration | description: Credit configuration of the pool.  Returned only when the pool uses credit-based pricing.
               - name: amount  | type: string | description: Number of credits allocated to the pool.
               - name: unitDisplayName  | type: string | description: Credit unit display name.
               - name: unitType  | type: string | description: Credit unit type. For example, `point` or `token`.
       - name: program  | type: ProgramInfo | description: Program details, including the program's ID, display name, and external ID, if set.  Returned only when `PROGRAM` is included in the `fields` request parameter.
           - name: id  | type: string | description: Program ID.
           - name: externalId  | type: string | description: External program ID assigned by the provider.
           - name: displayName  | type: string | description: Program's display name.
       - name: programDefinition  | type: ProgramDefinitionInfo | description: Program definition details, including the program definition's ID, display name, description, and external ID, if set.  Returned only when `PROGRAM_DEFINITION` is included in the `fields` request parameter.
           - name: id  | type: string | description: Program definition ID.
           - name: externalId  | type: string | description: External program definition ID assigned by the provider.
           - name: displayName  | type: string | description: Program definition's display name.
           - name: description  | type: string | description: Program definition description.
       - name: itemId  | type: string | description: ID of the catalog item that this pool item gives access to.
       - name: itemInfo  | type: ItemInfo | description: Display name for the catalog item.  Returned only when `ITEM` is included in the `fields` request parameter.
           - name: displayName  | type: string | description: Item's display name.
       - name: benefitInfo  | type: BenefitInfo | description: Pricing and display information for the associated benefit, including credit price, name, and description.  Returned only when `BENEFIT` is included in the `fields` request parameter.
           - name: price  | type: string | description: Cost of the benefit in credits. The cost is the same for all items in this benefit.  Credits are a configurable unit defined on the parent pool definition. The unit type is set in the pool definition's credit configuration. Absent when no credit-based pricing is configured for this benefit.
           - name: benefitKey  | type: string | description: Unique identifier for this benefit. Same value as `poolItem.benefitKey`.
           - name: displayName  | type: string | description: Benefit's display name.
           - name: description  | type: string | description: Benefit description.
       - name: balance  | type: BalanceInfo | description: Credit balance of the pool that contains this item.  Returned only when `BALANCE` is included in the `fields` request parameter.
           - name: available  | type: string | description: Number of available credits in the pool.  Credits are a configurable unit defined on the parent pool definition.
       - name: benefitKey  | type: string | description: Key of the benefit that grants access to this item. Unique within the pool.
       - name: itemSearchKey  | type: string | description: Pre-computed search key for the catalog item, built by joining `providerAppId`, `category`, and `externalId` with `/`. For example, `a1c7e2f4-3b5d-4e8a-9c6f-2d4b8e1a7c35/classes/7f3e9b21-4c8a-4d6e-b5f2-9a1c3e7d8b40`.  Filtering by `itemSearchKey` is more efficient than filtering by `providerAppId`, `category`, and `externalId` in 3 separate conditions.
       - name: removed  | type: boolean | description: Whether the pool item was removed.  [Query Pool Items](https://dev.wix.com/docs/api-reference/business-solutions/benefit-programs/pool-items/query-pool-items.md) doesn't return removed pool items, so this field is always `false` or absent in query results.
           - name: value  | type: boolean | description: 

```