Skip to main content
Anchor to AppCreditCreatePayload

AppCreditCreatePayload

payload

The result of an appCreditCreate mutation.

•AppCredit

The app credit that was created.

Show fields
•[UserError!]

Errors when creating the application credit.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•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.

Show payload

Arguments

•MoneyInput!
required

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

Show input fields
•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.



Was this section helpful?