Store usage for app subscriptions with usage pricing.
Access Scopes
The staff member must have permission to manage app billing or approve app charges if authenticated with an online access token as described in https://shopify.dev/apps/auth/oauth/access-modes.
Fields
createdAt:
DateTime! -
The date and time when the usage record was created.
description:
String! -
The description of the app usage record.
subscriptionLineItem:
AppSubscriptionLineItem! -
Defines the usage pricing plan the merchant is subscribed to.
Connections
Related queries
Related mutations
appUsageRecordCreate
Enables an app to charge a store for features or services on a per-use basis.
The usage charge value is counted towards the `cappedAmount` limit that was specified in the `appUsagePricingDetails` field when the app subscription was created.
If you create an app usage charge that causes the total usage charges in a billing interval to exceed the capped amount, then a `Total price exceeds balance remaining` error is returned.