> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFCatalogGetItemsAsync

> Retrieves items from the public catalog. Up to 50 items can be returned at once. GetItems does not work off a cache of the Catalog and should be used when.

Retrieves items from the public catalog. Up to 50 items can be returned at once. GetItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. However, please note that item references data is cached and may take a few moments for changes to propagate.

## Syntax

```cpp theme={null}
HRESULT PFCatalogGetItemsAsync(  
    PFEntityHandle entityHandle,  
    const PFCatalogGetItemsRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFCatalogGetItemsRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfcatalogtypes/structs/pfcataloggetitemsrequest.md)

Populated request object.

**`async`**   XAsyncBlock\*\
*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on all platforms. When the asynchronous task is complete, call [PFCatalogGetItemsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemsgetresultsize.md) and [PFCatalogGetItemsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemsgetresult.md) to get the result.

## Requirements

**Header:** PFCatalog.h

## See also

[PFCatalog members](https://docs.xbox.com/services/playfab/api-references/c/pfcatalog/pfcatalog_members.md)


## Related topics

- [PFCatalogGetItemsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemsgetresult.md)
- [Services C API overview - PFCatalog.h](https://docs.xbox.com/services/playfab/api-references/c/pfcatalog/pfcatalog_members.md)
- [PFCatalogGetItemAsync](https://docs.xbox.com/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemasync.md)
- [PFCatalogGetDraftItemAsync](https://docs.xbox.com/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemasync.md)
- [PFCatalogGetDraftItemsAsync](https://docs.xbox.com/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetdraftitemsasync.md)
