API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

AppUsageRecord object

Version 2021-01 (Release candidate)

Store usage for app subscriptions with usage pricing.

Fields

createdAt (DateTime!)

The date and time when the usage record was created.

description (String!)

The description of the app usage record.

id (ID!)

Globally unique identifier.

price (MoneyV2!)

The price of the usage record. The only permitted currency code is USD.

subscriptionLineItem (AppSubscriptionLineItem!)

Defines the usage pricing plan the merchant is subscribed to.

Types that return AppUsageRecord

Mutations for AppUsageRecord

appUsageRecordCreate

Allows an app to charge a store for usage.

Implements

Version 2020-10 (Latest)

Store usage for app subscriptions with usage pricing.

Fields

createdAt (DateTime!)

The date and time when the usage record was created.

description (String!)

The description of the app usage record.

id (ID!)

Globally unique identifier.

price (MoneyV2!)

The price of the usage record. The only permitted currency code is USD.

subscriptionLineItem (AppSubscriptionLineItem!)

Defines the usage pricing plan the merchant is subscribed to.

Types that return AppUsageRecord

Mutations for AppUsageRecord

appUsageRecordCreate

Allows an app to charge a store for usage.

Implements

Version 2020-07

Store usage for app subscriptions with usage pricing.

Fields

createdAt (DateTime!)

The date and time when the usage record was created.

description (String!)

The description of the app usage record.

id (ID!)

Globally unique identifier.

price (MoneyV2!)

The price of the usage record. The only permitted currency code is USD.

subscriptionLineItem (AppSubscriptionLineItem!)

Defines the usage pricing plan the merchant is subscribed to.

Types that return AppUsageRecord

Mutations for AppUsageRecord

appUsageRecordCreate

Allows an app to charge a store for usage.

Implements

Version 2020-04

Store usage for app subscriptions with usage pricing.

Fields

createdAt (DateTime!)

The date and time when the usage record was created.

description (String!)

The description of the app usage record.

id (ID!)

Globally unique identifier.

price (MoneyV2!)

The price of the usage record. The only permitted currency code is USD.

subscriptionLineItem (AppSubscriptionLineItem!)

Defines the usage pricing plan the merchant is subscribed to.

Types that return AppUsageRecord

Mutations for AppUsageRecord

appUsageRecordCreate

Allows an app to charge a store for usage.

Implements

Version 2020-01

Store usage for app subscriptions with usage pricing.

Fields

createdAt (DateTime!)

The date and time when the usage record was created.

description (String!)

The description of the app usage record.

id (ID!)

Globally unique identifier.

price (MoneyV2!)

The price of the usage record. The only permitted currency code is USD.

subscriptionLineItem (AppSubscriptionLineItem!)

Defines the usage pricing plan the merchant is subscribed to.

Types that return AppUsageRecord

Mutations for AppUsageRecord

appUsageRecordCreate

Allows an app to charge a store for usage.

Implements

Version 2019-10 (Unsupported)

Store usage for app subscriptions with usage pricing.

Fields

createdAt (DateTime!)

The date and time when the usage record was created.

description (String!)

The description of the app usage record.

id (ID!)

Globally unique identifier.

price (MoneyV2!)

The price of the usage record. The only permitted currency code is USD.

subscriptionLineItem (AppSubscriptionLineItem!)

Defines the usage pricing plan the merchant is subscribed to.

Types that return AppUsageRecord

Mutations for AppUsageRecord

appUsageRecordCreate

Allows an app to charge a store for usage.

Implements

Version 2019-07 (Unsupported)

Store usage for app subscriptions with usage pricing.

Fields

createdAt (DateTime!)

The date and time when the usage record was created.

description (String!)

The description of the app usage record.

id (ID!)

Globally unique identifier.

price (MoneyV2!)

The price of the usage record. The only permitted currency code is USD.

subscriptionLineItem (AppSubscriptionLineItem!)

Defines the usage pricing plan the merchant is subscribed to.

Types that return AppUsageRecord

Mutations for AppUsageRecord

appUsageRecordCreate

Allows an app to charge a store for usage.

Implements

Samples