Home > @infiniteobjects/shopify-data-manager > AdminTypes > AppUsageRecord
Store usage for app subscriptions with usage pricing.
Signature:
export interface AppUsageRecord extends Node
Extends: Node
Property | Modifiers | Type | Description |
---|---|---|---|
createdAt | Scalars[‘DateTime’][‘output’] | The date and time when the usage record was created. | |
description | Scalars[‘String’][‘output’] | The description of the app usage record. | |
id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
idempotencyKey? | Maybe<Scalars[‘String’][‘output’]> | (Optional) A unique key generated by the client to avoid duplicate charges. | |
price | MoneyV2 | The price of the usage record. | |
subscriptionLineItem | AppSubscriptionLineItem | Defines the usage pricing plan the merchant is subscribed to. |