Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.169
Language: C# Updated: 2026-10-13

API Reference

Command

New-AppStoreConnectSubscriptionIntroductoryOffer

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.AppStoreConnectSubscriptionIntroductoryOfferInfo

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

Authored help example

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 Sets

Parameters

Duration AppStoreConnectSubscriptionOfferDuration requiredposition: namedpipeline: Falsevalues: 8
Introductory-offer duration.
Possible values: ThreeDays, OneWeek, TwoWeeks, OneMonth, TwoMonths, ThreeMonths, SixMonths, OneYear
EndDate DateTime optionalposition: namedpipeline: False
Optional offer end date.
IssuerId String requiredposition: namedpipeline: False
Issuer ID from App Store Connect API keys.
KeyId String requiredposition: namedpipeline: False
Key ID associated with the private key.
NumberOfPeriods Int32 optionalposition: namedpipeline: False
Number of offer periods.
OfferMode AppStoreConnectSubscriptionOfferMode requiredposition: namedpipeline: Falsevalues: 3
Introductory-offer payment mode.
Possible values: FreeTrial, PayAsYouGo, PayUpFront
PrivateKey String optionalposition: namedpipeline: False
Private key text in PEM format.
PrivateKeyPath String optionalposition: namedpipeline: False
Path to a private key file in PEM format.
StartDate DateTime optionalposition: namedpipeline: False
Optional offer start date.
SubscriptionId String requiredposition: namedpipeline: False
App Store Connect subscription resource id.
SubscriptionPricePointId String optionalposition: namedpipeline: False
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[] requiredposition: namedpipeline: False
Territory resource ids for the offer. Free trials may target multiple territories; paid offers accept one.
TokenLifetimeMinutes Int32 optionalposition: namedpipeline: False
Token lifetime in minutes, up to 20.

Outputs

PowerForge.AppStoreConnectSubscriptionIntroductoryOfferInfo