Anchor to AppCreditCreatePayloadApp
payloadApp Credit Create Payload
The result of an appCreditCreate mutation.
Anchor to FieldsFields
- appCredit (AppCredit)
- userErrors ([UserError!])
- Anchor to appCreditapp•App
Credit Credit The app credit that was created.
- Anchor to userErrorsuser•[User
Errors Error!] Errors when creating the application credit.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- appCreditCreate (AppCreditCreatePayload)
- •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 financialspermission.- Anchor to appIdapp•ID!
Id required The id of the app to associate the credit with. Example value:
.- Anchor to shopIdshop•ID!
Id required The id of the shop to be credited. Example value:
.- Anchor to amountamount•Money
Input! required The amount that can be used towards future app purchases in Shopify.
- Anchor to descriptiondescription•String!required
The description of the app credit.
- Anchor to testtest•BooleanDefault:false
Specifies whether the app credit is a test transaction.
Arguments
Was this section helpful?