App Credit
Represents monetary credits that merchants can apply toward future app purchases, subscriptions, or usage-based billing within their Shopify store. App credits provide a flexible way to offer refunds, promotional credits, or compensation without processing external payments.
For example, if a merchant experiences service downtime, an app might issue credits equivalent to the affected billing period. These credits can apply to future charges, reducing the merchant's next invoice or extending their subscription period.
Use the object to:
- Issue refunds for service interruptions or billing disputes
- Provide promotional credits for new merchant onboarding
- Compensate merchants for app-related issues or downtime
- Create loyalty rewards or referral bonuses within your billing system
- Track credit balances and application history for accounting purposes
For comprehensive billing strategies and credit management patterns, see the subscription billing guide.
Anchor to FieldsFields
- Anchor to amountamount•Money
V2! non-null The amount that can be used towards future app purchases in Shopify.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the app credit was created.
- Anchor to descriptiondescription•String!non-null
The description of the app credit.
- •ID!non-null
A globally-unique ID.
- Anchor to testtest•Boolean!non-null
Whether the app credit is a test transaction.
Anchor to QueriesQueries
- •query
Credits that can be used towards future app purchases.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•App
Key Transaction Sort Keys Default:CREATED_AT Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
Arguments