stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > AppSubscription

AdminTypes.AppSubscription interface

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

Signature:

export interface AppSubscription extends Node 

Extends: Node

Properties

Property Modifiers Type Description
createdAt   Scalars[‘DateTime’][‘output’] The date and time when the app subscription was created.
currentPeriodEnd?   Maybe<Scalars[‘DateTime’][‘output’]> (Optional) The date and time when the current app subscription period ends. Returns null if the subscription isn’t active.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
lineItems   Array<AppSubscriptionLineItem> The plans attached to the app subscription.
name   Scalars[‘String’][‘output’] The name of the app subscription.
returnUrl   Scalars[‘URL’][‘output’] The URL that the merchant is redirected to after approving the app subscription.
status   AppSubscriptionStatus | `${AppSubscriptionStatus}` The status of the app subscription.
test   Scalars[‘Boolean’][‘output’] Specifies whether the app subscription is a test transaction.
trialDays   Scalars[‘Int’][‘output’] The number of free trial days, starting at the subscription’s creation date, by which billing is delayed.