steam_grantInventoryItem
Grant an inventory item to a player through the Steam partner API. Use for dev/test or server-side rewards; dry-run by default, requires confirm=true to send.
Instructions
MUTATES LIVE INVENTORY. Default dry_run=true; requires confirm=true to send. Grant an inventory item to a player via the partner API. Intended for dev/test or server-side rewards. Requires a publisher API key with server IP allowlisted in Steamworks partner settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appid | Yes | Steam application ID | |
| notify | No | Whether to notify the player of the grant (default: true) | |
| confirm | No | Required true when dry_run is false. Refuses otherwise. | |
| dry_run | No | If true (default), return the planned request without contacting Steam | |
| steamid | Yes | 64-bit Steam ID of the player to grant the item to | |
| quantity | No | Number of items to grant (default: 1) | |
| itemdefid | Yes | Item definition ID from your Steamworks item schema |