Accorder des articles aux utilisateurs
NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for version 2. Adds the specified items to the specified user inventories
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| AccountNotFound | 1001 |
| CatalogNotConfigured | 1218 |
| ProductDisabledForTitle | 1609 |
Autorisations
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Corps
This function directly adds inventory items to user inventories. As a result of this operations, the user will not be charged any transaction fee, regardless of the inventory item catalog definition. Please note that the processing time for inventory grants and purchases increases fractionally the more items are in the inventory, and the more items are in the grant/purchase operation.
This function directly adds inventory items to user inventories. As a result of this operations, the user will not be charged any transaction fee, regardless of the inventory item catalog definition. Please note that the processing time for inventory grants and purchases increases fractionally the more items are in the inventory, and the more items are in the grant/purchase operation.
Réponse
Please note that the order of the items in the response may not match the order of items in the request.
Sujets connexes
Accorder des objets aux utilisateursAccorder aux joueurs l'accès au contenu des modules complémentairesAccorder des objets à l'utilisateurBonnes pratiques InsightsUtilisation côté client des privilèges utilisateur des services XBOX