Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to appSubscriptionCreate

appSubscriptionCreate

mutation

Allows an app to charge a store for features or services on a recurring basis.

Attaches one or more pricing plans to an app subscription. Only one pricing plan can be defined for each available type.

String!required

A descriptive name for the app subscription.

The replacement behavior when creating an app subscription for a merchant with an already existing app subscription.

URL!required

The URL pointing to the page where the merchant is redirected after approving the app subscription.

BooleanDefault:false

Whether the app subscription is a test transaction.

The number of days of the free trial period, beginning on the day that the merchant approves the app charges.


Was this section helpful?

Anchor to AppSubscriptionCreatePayload returnsAppSubscriptionCreatePayload returns

The newly-created app subscription.

The URL pointing to the page where the merchant approves or declines the charges for an app subscription.

The list of errors that occurred from executing the mutation.


Was this section helpful?