API Reference
Command
New-AppStoreConnectSubscriptionIntroductoryOffer
Creates an App Store Connect introductory offer for an auto-renewable subscription.
Remarks
Creates an App Store Connect introductory offer for an auto-renewable subscription.
Examples
EXAMPLE 1
New-AppStoreConnectSubscriptionIntroductoryOffer -IssuerId 'Value' -KeyId 'Value' -SubscriptionId 'Value' -Duration 'Value' -OfferMode 'Value'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-AppStoreConnectSubscriptionIntroductoryOffer -Duration <ThreeDays> [-EndDate <DateTime>] -IssuerId <String> -KeyId <String> [-NumberOfPeriods <Int32>] -OfferMode <FreeTrial|PayAsYouGo|PayUpFront> [-PrivateKey <String>] [-PrivateKeyPath <String>] [-StartDate <DateTime>] -SubscriptionId <String> [-SubscriptionPricePointId <String>] -TerritoryId <String[]> [-TokenLifetimeMinutes <Int32>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Duration AppStoreConnectSubscriptionOfferDuration
- Introductory-offer duration.
- Possible values:
ThreeDays,OneWeek,TwoWeeks,OneMonth,TwoMonths,ThreeMonths,SixMonths,OneYear - EndDate DateTime
- Optional offer end date.
- IssuerId String
- Issuer ID from App Store Connect API keys.
- KeyId String
- Key ID associated with the private key.
- NumberOfPeriods Int32
- Number of offer periods.
- OfferMode AppStoreConnectSubscriptionOfferMode
- Introductory-offer payment mode.
- Possible values:
FreeTrial,PayAsYouGo,PayUpFront - PrivateKey String
- Private key text in PEM format.
- PrivateKeyPath String
- Path to a private key file in PEM format.
- StartDate DateTime
- Optional offer start date.
- SubscriptionId String
- App Store Connect subscription resource id.
- SubscriptionPricePointId String
- Subscription price point resource id for a paid offer. Paid offers accept one territory per invocation because App Store Connect price points are territory-specific.
- TerritoryId String[]
- Territory resource ids for the offer. Free trials may target multiple territories; paid offers accept one.
- TokenLifetimeMinutes Int32
- Token lifetime in minutes, up to 20.
Outputs
PowerForge.AppStoreConnectSubscriptionIntroductoryOfferInfo