App Subscription Line Item
Represents a component of an app subscription that contains pricing details for either recurring fees or usage-based charges. Each subscription has exactly 1 or 2 line items - one for recurring fees and/or one for usage fees.
If a subscription has both recurring and usage pricing, there will be 2 line items. If it only has one type of pricing, the subscription will have a single line item for that pricing model.
Use the object to:
- View the pricing terms a merchant has agreed to
- Distinguish between recurring and usage fee components
- Access detailed billing information for each pricing component
This read-only object provides visibility into the subscription's pricing structure without allowing modifications.
Read about subscription pricing models in the billing architecture guide.
Anchor to FieldsFields
- •ID!non-null
A globally-unique ID.
- Anchor to planplan•App
Plan V2! non-null The pricing model for the app subscription.
- Anchor to usageRecordsusage•App
Records Usage Record Connection! non-null A list of the store's usage records for a usage pricing plan.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•App
Key Usage Record Sort Keys Default:CREATED_AT Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
Arguments