> ## 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.

# items_added

> ItemsAdded event.

Event raised when items have been added to an inventory.

## Properties

| Name              | Type   | Description                                                        |
| :---------------- | :----- | :----------------------------------------------------------------- |
| TransactionId     | String | The transaction id.                                                |
| CollectionId      | String | The collection id.                                                 |
| ItemId            | String | The item id.                                                       |
| StackId           | String | The stack id.                                                      |
| Amount            | int?   | The amount of items that were added.                               |
| DurationInSeconds | long?  | The duration of the item that was added.                           |
| ItemType          | String | The type of the catalog item that was modified in the transaction. |
| Balance           | int?   | The balance of the items changed as a result of the transaction.   |

## Common Properties

All V2 PlayStream events are formatted as JSON objects and most share the following common properties:

| Name               | Type                                                                          | Description                                                                               |
| :----------------- | :---------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------- |
| SchemaVersion      | String                                                                        | PlayStream event format version, following a semantic versioning scheme.                  |
| FullName           | [Object](/services/playfab/api-references/events/data-types/fullnameobject)   | Combination of the event name and event namespace to fully specify the event type.        |
| Id                 | String                                                                        | PlayFab-assigned unique identifier for this event.                                        |
| Timestamp          | DateTime                                                                      | The time (in UTC) associated with this event.                                             |
| Entity             | [Object](/services/playfab/api-references/events/data-types/entityobject)     | Details about the entity to which this event applies including Entity Id and Entity type. |
| Originator         | [Object](/services/playfab/api-references/events/data-types/originatorobject) | Object describing the source and source type that initiated this event.                   |
| PayloadContentType | String                                                                        | Specifies the content of the event payload. Default is "JSON".                            |
| Origin Info        | Object                                                                        | Optional field containing info about events originating outside of PlayFab.               |


## Related topics

- [PlayStream event model reference for PlayFab](/services/playfab/api-references/events/index.md)
- [character_inventory_item_added](/services/playfab/api-references/events/Character/character-inventory-item-added.md)
- [player_inventory_item_added](/services/playfab/api-references/events/Player/player-inventory-item-added.md)
- [CouponGrantedInventoryItem](/services/playfab/api-references/events/data-types/coupongrantedinventoryitem.md)
- [player_redeemed_coupon](/services/playfab/api-references/events/Player/player-redeemed-coupon.md)
