应用使用记录-AppUsageRecord 对象

采取使用率定价存储应用程序订阅的使用率。


在本页面


字段

  • createdAt[DateTime!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01)
    使用记录的创建日期和时间。
  • description[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    应用使用记录的描述。
  • id[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
    全局唯一标识符。
  • price[MoneyV2!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneyv2)
    使用记录的价格。唯一允许的货币代码是美元。
  • subscriptionLineItem[AppSubscriptionLineItem!](https://shopify.dev/docs/admin-api/graphql/reference/billing/appsubscriptionlineitem)
    定义商家订阅的使用定价计划。

返回AppUsageRecord的类型

  • [AppSubscriptionLineItem.usageRecords](https://shopify.dev/docs/admin-api/graphql/reference/billing/appsubscriptionlineitem#usagerecords-2021-01)

AppUsageRecord的变异


派生关系

  • [Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)

自动生成的类型,用于通过多个AppUsageRecords分页。


在本页面


字段

  • edges[[AppUsageRecordEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/billing/appusagerecord)
    边列表。
  • pageInfo[PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo)
    有助于分页的信息。

一种自动生成的类型,在分页期间包含一个AppUsageRecord和一个光标。


在本页面


字段

  • cursor[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
    用于分页的游标。
  • node[AppUsageRecord!](https://shopify.dev/docs/admin-api/graphql/reference/billing/appusagerecord)
    AppUsageRecordEdge末尾的项目。

返回AppUsageRecordEdge的类型

  • [AppUsageRecordConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/billing/appusagerecord#edges-2021-01)