createSubscriptionOption( )


Deprecated

This method has been deprecated, and will be replaced in the future.

Creates a subscription option. To assign to a product, call assignSubscriptionOptionsToProduct(). Subscription options that are not assigned to a product will not be visible in the Wix business manager.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Stores - all permissions
Manage Products
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
subscriptionOptionSubscriptionOptionRequired

Subscription option info.

Returns
Return Type:Promise<SubscriptionOption>
Did this help?