AppCredit object

App credits can be applied by the merchant towards future app purchases, subscriptions, or usage records in Shopify.


On this page


Fields

  • amount ([MoneyV2!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneyv2))
    The amount that can be used towards future app purchases in Shopify.
  • createdAt ([DateTime!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01))
    The date and time when the app credit was created.
  • description ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The description of the app credit.
  • id ([ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    Globally unique identifier.
  • test ([Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    Whether the app credit is a test transaction.


Types that return AppCredit

  • [AppInstallation.credits](https://shopify.dev/docs/admin-api/graphql/reference/apps/appinstallation#credits-2021-01)


Mutations for AppCredit

  • appCreditCreate
    Allows an app to create a credit for a shop that can be used towards future app purchases.


Implements

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

An auto-generated type for paginating through multiple AppCredits.


On this page


Fields

  • edges ([[AppCreditEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/billing/appcredit))
    A list of edges.
  • pageInfo ([PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo))
    Information to aid in pagination.

An auto-generated type which holds one AppCredit and a cursor during pagination.


On this page


Fields

  • cursor ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    A cursor for use in pagination.
  • node ([AppCredit!](https://shopify.dev/docs/admin-api/graphql/reference/billing/appcredit))
    The item at the end of AppCreditEdge.


Types that return AppCreditEdge

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