active Subscription
The active managed pricing subscription for a shop on a given app.
Arguments
- appId (ID!)
- shopId (ID!)
- Anchor to appIdapp•ID!
Id required The ID of the app to get the active subscription for. Example value:
.- Anchor to shopIdshop•ID!
Id required The ID of the shop to get the active subscription for. Example value:
.
Anchor to Possible returnsPossible returns
- ActiveSubscription (ActiveSubscription)
- Anchor to ActiveSubscriptionActive•Active
Subscription Subscription Represents an active pricing subscription between a shop and an app.
- •App
Reference! non-null The app that provides this subscription.
- Anchor to billingPeriodbilling•App
Period Pricing Interval! non-null The frequency at which the shop is billed for an app subscription.
- Anchor to cancelAtEndOfCyclecancel•Boolean!
At End Of Cycle non-null Returns true if the subscription will be cancelled at the end of the cycle.
- Anchor to currentBillingCyclecurrent•Billing
Billing Cycle Cycle The current billing cycle for the subscription. Returns null if the subscription is still in trial.
- Anchor to itemsitems•[Subscription
Item!]! non-null The subscription items included in this subscription.
- Anchor to legacySubscriptionIdlegacy•ID
Subscription Id The ID of the legacy AppSubscription object accessible via Admin API.
- Anchor to pendingUpdatepending•Pending
Update Update Pending updates that will be applied at the next billing cycle. Returns null if no pending updates.
- Anchor to shopshop•Shop
Reference! non-null The shop that owns this subscription.
- Anchor to trialEndsAttrial•Date
Ends At Time The date and time when the trial period ends. Returns null if no active trial.
- •App