```
mcp
Error: Error calling create-product: Unknown error.
HTTP status: 422
Full response: object: error
type: parameter_error
message: A duration is required to create a Test Store subscription product
retryable: false
doc_url: "https://errors.rev.cat/parameter-error"
param: simulated_store_durations
Expected parameters:
project_id (string) *required* - ID of the project
store_identifier (string) *required* - The store identifier of the product.
- For Apple App Store products this is the product ID of the subscription or in-app product.
- For Google's Play Store, it should follow the format 'productId:basePlanId' for subscription products and SKU for
one-time purchase products.
- For Stripe, the product identifier that always starts with "prod_"
- For Amazon, if it's a subscription, the term SKU of the subscription. If it's a one-time purchase, the SKU of the
product.
- For Roku, this is the product identifier of the subscription or one-time purchase product.
Example: com.revenuecat.magicweather.monthly
app_id (string) *required* - The ID of the app Example: app1a2b3c4
type (enum: "subscription", "one_time", "consumable", "non_consumable", "non_renewing_subscription") *required*
display_name (union) - The display name of the product Example: Premium Monthly 2023
subscription.duration (enum: "P1W", "P1M", "P2M", "P3M", "P6M", "P1Y") - The duration of the product subscription.
This field is only supported for the test store and it is ignored for other stores. Example: P1W
title (union) - The user-facing title of the product. This field is required for Test Store products. Example:
Premium Monthly 2023
```
