Contents

SubscriptionMigrateRequest

The subscription details you provide to migrate a subscription from In-App Purchase to the Advanced Commerce API, such as descriptors, items, storefront, and more.

Declaration

object SubscriptionMigrateRequest

Properties

NameTypeDescription
descriptors RequiredSubscriptionMigrateDescriptors

items Required[SubscriptionMigrateItem]

An array of one or more SKUs, along with descriptions and display names, that are included in the subscription.

renewalItems[SubscriptionMigrateRenewalItem]

An optional array of subscription items that represents the items that renew at the next renewal period, if they differ from items. Supply this array if the customer has a pending subscription downgrade or cross-grade, which applies at the next renewal period.

requestInfo RequiredRequestInfo

storefrontstorefront

targetProductId RequiredtargetProductId

Your generic product ID for an auto-renewable subscription. You configure this product ID in App Store Connect during setup. For more information, see Creating SKUs for your In-App Purchases.

taxCode RequiredtaxCode

See Also

Migration from the server