Skip to main content
object

Represents an error in a mutation.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


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

•ID!
required

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

•ID!
required

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

•MoneyInput!
required

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

•String!
required

The description of the app credit.

•Boolean
Default:false

Specifies whether the app credit is a test transaction.



Was this section helpful?