# AppSubscription - admin-graphql - OBJECT
Version: 2025-01

## Description
Provides users access to services and/or features for a duration of time.

### Access Scopes



## Fields
* [createdAt](/docs/api/admin-graphql/2025-01/scalars/DateTime): DateTime! - The date and time when the app subscription was created.
* [currentPeriodEnd](/docs/api/admin-graphql/2025-01/scalars/DateTime): DateTime - The date and time when the current app subscription period ends. Returns `null` if the subscription isn't active.
* [id](/docs/api/admin-graphql/2025-01/scalars/ID): ID! - A globally-unique ID.
* [lineItems](/docs/api/admin-graphql/2025-01/objects/AppSubscriptionLineItem): AppSubscriptionLineItem! - The plans attached to the app subscription.
* [name](/docs/api/admin-graphql/2025-01/scalars/String): String! - The name of the app subscription.
* [returnUrl](/docs/api/admin-graphql/2025-01/scalars/URL): URL! - The URL that the merchant is redirected to after approving the app subscription.
* [status](/docs/api/admin-graphql/2025-01/enums/AppSubscriptionStatus): AppSubscriptionStatus! - The status of the app subscription.
* [test](/docs/api/admin-graphql/2025-01/scalars/Boolean): Boolean! - Specifies whether the app subscription is a test transaction.
* [trialDays](/docs/api/admin-graphql/2025-01/scalars/Int): Int! - The number of free trial days, starting at the subscription's creation date, by which billing is delayed.

## Connections



## Related queries

## Related mutations
* [appSubscriptionCancel](/docs/api/admin-graphql/2025-01/mutations/appSubscriptionCancel) Cancels an app subscription on a store.
* [appSubscriptionCreate](/docs/api/admin-graphql/2025-01/mutations/appSubscriptionCreate) Allows an app to charge a store for features or services on a recurring basis.
* [appSubscriptionLineItemUpdate](/docs/api/admin-graphql/2025-01/mutations/appSubscriptionLineItemUpdate) Updates the capped amount on the usage pricing plan of an app subscription line item.
* [appSubscriptionTrialExtend](/docs/api/admin-graphql/2025-01/mutations/appSubscriptionTrialExtend) Extends the trial of an app subscription.

## Related Unions

## Examples