Pool Item Object


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.

Properties
balanceBalanceInfoRead-only

Credit balance of the pool that contains this item.

Returned only when BALANCE is included in the fields request parameter.


beneficiaryIdentificationDataRead-onlyimmutable

Beneficiary of the pool. The member, contact, or visitor who can access this pool item.


benefitInfoBenefitInfoRead-only

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.


benefitKeystringRead-onlymaxLength 64immutable

Key of the benefit that grants access to this item. Unique within the pool.


categorystringRead-onlymaxLength 20immutable

Item category. Groups benefit items together for organization and management. For example, classes, posts, or groups.


createdDatestringRead-onlyformat date-time

Date and time the pool item was created.


externalIdstringRead-onlyformat GUIDimmutable

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.


externalProgramDefinitionIdstringRead-onlyformat GUIDimmutable

External program definition ID assigned by the provider.


externalProgramIdstringRead-onlyformat GUID

External program ID assigned by the provider.


idstringRead-onlyformat GUID

Pool item ID. Generated deterministically from poolId and itemId.


itemIdstringRead-onlyformat GUIDimmutable

ID of the catalog item that this pool item gives access to.


itemInfoItemInfoRead-only

Display name for the catalog item.

Returned only when ITEM is included in the fields request parameter.


itemSearchKeystringRead-onlymaxLength 94immutable

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.


itemSetIdstringRead-onlyformat GUIDimmutable

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.


namespacestringRead-onlyminLength 1maxLength 20immutable

Namespace for your app or site's benefit programs. Namespaces let you distinguish between entities that you created and entities that other apps created.


poolPoolInfoRead-only

Pool details, including display name and description.

Returned only when POOL is included in the fields request parameter.


poolDefinitionIdstringRead-onlyformat GUIDimmutable

ID of the pool definition that's the template for this pool item's pool.


poolIdstringRead-onlyformat GUIDimmutable

ID of the pool that contains this item. A pool is the runtime container of benefits and items provisioned for a beneficiary.


programProgramInfoRead-only

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.


programDefinitionProgramDefinitionInfoRead-only

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.


programDefinitionIdstringRead-onlyformat GUIDimmutable

ID of the program definition that's the template for this pool item's program.


programIdstringRead-onlyformat GUIDimmutable

ID of the program that contains this pool item. The program is the runtime instance of a program definition for a specific beneficiary.


providerAppIdstringRead-onlyformat GUIDimmutable

ID of the application that provides the benefit items. Each item's externalId is unique within its provider application.


removedbooleanRead-only

Whether the pool item was removed.

Query Pool Items doesn't return removed pool items, so this field is always false or absent in query results.


revisionstringRead-onlyformat int64

Revision number, which increments by 1 each time the pool item is updated.


updatedDatestringRead-onlyformat date-time

Date and time the pool item was updated.

Did this help?