Skip to main content
query

The active managed pricing subscription for a shop on a given app.

•ID!
required

The ID of the app to get the active subscription for. Example value: gid://shopify/App/1234.

•ID!
required

The ID of the shop to get the active subscription for. Example value: gid://shopify/Shop/1234.


Was this section helpful?

•ActiveSubscription

Represents an active pricing subscription between a shop and an app.

•AppReference!
non-null

The app that provides this subscription.

•AppPricingInterval!
non-null

The frequency at which the shop is billed for an app subscription.

•Boolean!
non-null

Returns true if the subscription will be cancelled at the end of the cycle.

•BillingCycle

The current billing cycle for the subscription. Returns null if the subscription is still in trial.

•[SubscriptionItem!]!
non-null

The subscription items included in this subscription.

Anchor to legacySubscriptionIdlegacySubscriptionId
•ID

The ID of the legacy AppSubscription object accessible via Admin API.

•PendingUpdate

Pending updates that will be applied at the next billing cycle. Returns null if no pending updates.

•ShopReference!
non-null

The shop that owns this subscription.

•DateTime

The date and time when the trial period ends. Returns null if no active trial.


Was this section helpful?