> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStoreConsumableResult

> XStoreConsumableResult

Represents the quantity of the consumable.

## Syntax

```cpp theme={null}
typedef struct XStoreConsumableResult {  
    uint32_t quantity;  
} XStoreConsumableResult  
```

### Members

*quantity*\
Type: uint32\_t

The remaining quantity of the consumable.

## Remarks

While this struct contains the results of [XStoreQueryConsumableBalanceRemainingAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync.md) and [XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md) the structs are actually populated in their results functions which are [XStoreQueryConsumableBalanceRemainingResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingresult.md) and [XStoreReportConsumableFulfillmentResult](https://docs.xbox.com/reference/system/xstore/functions/xstorereportconsumablefulfillmentresult.md) respectively. **XStoreConsumableResult** is a parameter of [XStoreQueryConsumableBalanceRemainingResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingresult.md). **XStoreConsumableResult** is a parameter of [XStoreReportConsumableFulfillmentResult](https://docs.xbox.com/reference/system/xstore/functions/xstorereportconsumablefulfillmentresult.md). This struct can be returned in a variety of mechanisms, including after use or purchase of a consumable.

## Requirements

**Header:** XStore.h (included in XGameRuntime.h)

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XStore](https://docs.xbox.com/reference/system/xstore/xstore_members.md)\
[XStoreQueryConsumableBalanceRemainingResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingresult.md)\
[XStoreReportConsumableFulfillmentResult](https://docs.xbox.com/reference/system/xstore/functions/xstorereportconsumablefulfillmentresult.md)


## Related topics

- [XStoreReportConsumableFulfillmentResult](https://docs.xbox.com/reference/system/xstore/functions/xstorereportconsumablefulfillmentresult.md)
- [XStoreQueryConsumableBalanceRemainingResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingresult.md)
- [XStore (API contents)](https://docs.xbox.com/reference/system/xstore/xstore_members.md)
- [XStoreQueryConsumableBalanceRemainingAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync.md)
- [XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md)
