# CFX::LOAD_PLAYER_COMMERCE_DATA

- **Hash:** `0xA8F63EAB`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `LoadPlayerCommerceData`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/LOAD_PLAYER_COMMERCE_DATA

## Signature

```c
void LOAD_PLAYER_COMMERCE_DATA(char* playerSrc);
```

## Parameters

- `playerSrc` (`char*`) — The player handle

## Returns

`void`

## Description

*Source: Cfx.re native reference*

> This native is deprecated and may be removed in a future version. Use [`LOAD_PLAYER_COMMERCE_DATA_EXT`](#\_0x7995539E) instead.

Requests the commerce data for the specified player, including the owned SKUs. Use `IS_PLAYER_COMMERCE_INFO_LOADED` to check if it has loaded.

## Usage

### Lua

```lua
LoadPlayerCommerceData(playerSrc)

-- always available, by hash
Citizen.InvokeNative(0xa8f63eab, playerSrc)
```

### JavaScript

```js
LoadPlayerCommerceData(playerSrc);

// by hash
Citizen.invokeNative('0xa8f63eab', playerSrc);
```

### C#

```csharp
Function.Call((Hash)0xa8f63eab, playerSrc);
```

*Sources: Cfx.re native reference.*
