Skip to main content
object

A credit issued to a merchant for an app. Merchants are entitled to app credits under certain circumstances, such as when a paid app subscription is downgraded partway through its billing cycle.

•Money!
non-null

The amount that can be used towards future app purchases in Shopify.

•ID!
non-null

A globally unique identifier.

•String!
non-null

The description of the app credit.

•Boolean!
non-null

Whether the app credit was a test transaction.


Was this section helpful?

•mutation

Allows an app to create a credit for a shop that can be used towards future app purchases. This mutation is only available to Partner API clients that have been granted the View financials permission.

Arguments

•MoneyInput!
required

The amount that can be used towards future app purchases in Shopify.

•ID!
required

The id of the app to associate the credit with. Example value: gid://partners/App/123.

•String!
required

The description of the app credit.

•ID!
required

The id of the shop to be credited. Example value: gid://partners/Shop/456.

•Boolean
Default:false

Specifies whether the app credit is a test transaction.


Fields

•AppCredit

The app credit that was created.

•[UserError!]

Errors when creating the application credit.


Was this section helpful?

•interface

Was this section helpful?