AppSubscriptionLineItem

Version 2019-07

Attaches a plan to an app subscription.

Show definition
"""
Attaches a plan to an app subscription.
"""
type AppSubscriptionLineItem {
  """
  Globally unique identifier.
  """
  id: ID!
  """
  Defines the pricing model for the app subscription.
  """
  plan: AppPlanV2!
  """
  Lists the store's usage for a usage pricing plan.
  """
  usageRecords(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first `n` elements from the list.
    """
    first: Int
    """
    Returns up to the last `n` elements from the list.
    """
    last: Int
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: AppUsageRecordSortKeys = CREATED_AT
  ): AppUsageRecordConnection!
}

Connections

usageRecords (AppUsageRecordConnection!)

Lists the store's usage for a usage pricing plan.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: true

sortKey ( AppUsageRecordSortKeys )

Sort the underlying list by the given key.
Default value: true

Fields

id (ID!)

Globally unique identifier.

plan (AppPlanV2!)

Defines the pricing model for the app subscription.

Version 2019-10 (Latest)

Attaches a plan to an app subscription.

Show definition
"""
Attaches a plan to an app subscription.
"""
type AppSubscriptionLineItem {
  """
  Globally unique identifier.
  """
  id: ID!
  """
  Defines the pricing model for the app subscription.
  """
  plan: AppPlanV2!
  """
  Lists the store's usage for a usage pricing plan.
  """
  usageRecords(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first `n` elements from the list.
    """
    first: Int
    """
    Returns up to the last `n` elements from the list.
    """
    last: Int
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: AppUsageRecordSortKeys = CREATED_AT
  ): AppUsageRecordConnection!
}

Connections

usageRecords (AppUsageRecordConnection!)

Lists the store's usage for a usage pricing plan.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: true

sortKey ( AppUsageRecordSortKeys )

Sort the underlying list by the given key.
Default value: true

Fields

id (ID!)

Globally unique identifier.

plan (AppPlanV2!)

Defines the pricing model for the app subscription.

Version 2020-01 (Release candidate)

Attaches a plan to an app subscription.

Show definition
"""
Attaches a plan to an app subscription.
"""
type AppSubscriptionLineItem {
  """
  Globally unique identifier.
  """
  id: ID!
  """
  Defines the pricing model for the app subscription.
  """
  plan: AppPlanV2!
  """
  Lists the store's usage for a usage pricing plan.
  """
  usageRecords(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first `n` elements from the list.
    """
    first: Int
    """
    Returns up to the last `n` elements from the list.
    """
    last: Int
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: AppUsageRecordSortKeys = CREATED_AT
  ): AppUsageRecordConnection!
}

Connections

usageRecords (AppUsageRecordConnection!)

Lists the store's usage for a usage pricing plan.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: true

sortKey ( AppUsageRecordSortKeys )

Sort the underlying list by the given key.
Default value: true

Fields

id (ID!)

Globally unique identifier.

plan (AppPlanV2!)

Defines the pricing model for the app subscription.

Sign up for a Partner account to get started.

Sign up