StoreKit.QueryProducts
----------------------

Queries products.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [StoreKit](component_StoreKit.md) | [8.2](newinversion82.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "StoreKit.QueryProducts"; productIdentifiers ) 

**MBS**( **"StoreKit.QueryProducts";** /\* Queries products. \*/  
**$productIdentifiers**) /\* The list of product identifiers to check. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| productIdentifiers | The list of product identifiers to check. |  |

### Result

Returns text or error.

### Description

Queries products.  
Your app uses an StoreKit.QueryProducts and [StoreKit.Products](StoreKitProducts.md) to present localized prices and other information to the user without having to maintain that list of product information itself.  
Please call in start script of solution, so a few seconds later when you want to call [StoreKit.Products](StoreKitProducts.md) the information is available.  
  
Clears last error state.  
### Examples

Query for two products:

 Set Variable \[ $r ; Value: MBS ( "StoreKit.QueryProducts"; "123¶456" ) \]  
### See also

- [StoreKit.InvalidProductIdentifiers](StoreKitInvalidProductIdentifiers.md)
- [StoreKit.ProductQueryRunning](StoreKitProductQueryRunning.md)
- [StoreKit.Products](StoreKitProducts.md)

### Blog Entries

- [Working on new Store Kit functions](https://www.mbsplugins.de/archive/2018-04-23/Working_on_new_Store_Kit_funct/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 22nd April 2018 , last changed 13th December 2024

  
[StoreKit.Products](StoreKitProducts.md) - [StoreKit.RequestReview](StoreKitRequestReview.md)

[HTML Version](StoreKitQueryProducts.shtml)