We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.

appCreditCreate

Version 2019-07 (Latest)

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

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

amount ( MoneyInput! ) required

The amount that can be used towards future app purchases in Shopify.The only permitted currency code is USD.

description ( String! ) required

The description of the app credit.

test ( Boolean )

Specifies whether the app credit is a test transaction.
Default value: true

Return Fields

appCredit (AppCredit)

The newly created app credit.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Release candidate)

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

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

amount ( MoneyInput! ) required

The amount that can be used towards future app purchases in Shopify.The only permitted currency code is USD.

description ( String! ) required

The description of the app credit.

test ( Boolean )

Specifies whether the app credit is a test transaction.
Default value: true

Return Fields

appCredit (AppCredit)

The newly created app credit.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up