Archive and unarchive operations for credit types are currently available via the GraphQL API only. REST API support is not yet available.
Archive Mutation
Archive Parameters
Input for archiving a credit type
Behavior
When a credit type is archived:- Customers with an existing credit pool of this type can still view it and consume credits normally. Granting additional credits to the pool is not possible.
- Customers without a credit pool of this type cannot see it or receive credits from it.
- The credit type cannot be used in new plans or add-ons.
Unarchive Mutation
Unarchive Parameters
Input for unarchiving a credit type
Related Operations
- Create Credit Grant - Grant credits to a customer
- Void Credit Grant - Void an existing credit grant
