> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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\*](/services/playfab/api-references/c/pfcatalogtypes/structs/pfcataloggetitemsrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*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](/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemsgetresultsize) and [PFCatalogGetItemsGetResult](/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemsgetresult) to get the result.

## Requirements

**Header:** PFCatalog.h

## See also

[PFCatalog members](/services/playfab/api-references/c/pfcatalog/pfcatalog_members)


## Related topics

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