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

# item_purchased

> item_purchased event.

This event is triggered when an item is purchased.

## Properties

| Name                  | Type                                                                                                     | Description                                                   |
| :-------------------- | :------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------ |
| CollectionId          | String                                                                                                   | The id of the collection the item was added to.               |
| Currencies            | List\<[ItemPurchasedCurrency](/services/playfab/api-references/events/data-types/itempurchasedcurrency)> | The set of currencies used to pay for the item.               |
| IdempotencyId         | String                                                                                                   | The idempotency id.                                           |
| ItemId                | String                                                                                                   | The id of the purchased item.                                 |
| ItemsAmountsOverrides | List\<[ItemPurchasedOverride](/services/playfab/api-references/events/data-types/itempurchasedoverride)> | The set of overrides used to alter item amounts.              |
| ItemType              | String                                                                                                   | The type of the purchased item.                               |
| OverrideSource        | String                                                                                                   | The source of the overrides used in the purchase.             |
| PayoutAmountOverride  | [ItemPurchasedOverride](/services/playfab/api-references/events/data-types/itempurchasedoverride)        | The override used to alter the payout of the purchase.        |
| PriceAmountsOverrides | List\<[ItemPurchasedOverride](/services/playfab/api-references/events/data-types/itempurchasedoverride)> | The set of overrides used to alter the price in the purchase. |
| Quantity              | uint64                                                                                                   | The quantity of purchased items.                              |
| StoreId               | String                                                                                                   | The optional id of the store.                                 |
| TransactionDateTime   | String                                                                                                   | Timestamp of the transaction in ISO-8601 format.              |
| TransactionId         | String                                                                                                   | The id of the transaction which added this item.              |

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

- [items_purchased](/services/playfab/api-references/events/Inventory/items-purchased.md)
- [PlayStream event model reference for PlayFab](/services/playfab/api-references/events/index.md)
- [ItemPurchasedCurrency data type](/services/playfab/api-references/events/data-types/itempurchasedcurrency.md)
- [ItemPurchasedOverride data type](/services/playfab/api-references/events/data-types/itempurchasedoverride.md)
- [character_vc_item_purchased](/services/playfab/api-references/events/Character/character-vc-item-purchased.md)
