> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateCreditGrantInput

> Input for updating a credit grant



**Kind**: `input`

## Fields

**`additionalMetaData`**: `JSON`

Metadata associated with the entity

---

**`comment`**: `String`

The comment for the credit grant

---

**`displayName`**: `String`

The display name of the credit grant

---

**`effectiveAt`**: `DateTime`

The effective date of the credit grant

---

**`environmentId`**: `UUID`

The unique identifier for the environment

---

**`expireAt`**: `DateTime`

The expiration date of the credit grant

---

**`id`**: `UUID!` (required)

The unique identifier for the credit grant

---

**`priority`**: `Float`

Determines which grant is drawn down first when a customer has multiple active credit grants in the same currency (0-100). Lower numbers are consumed first. Defaults to 50, the same default used for recurring credits granted by a plan or price. When priority is equal, the grant closer to expiring is drawn down first.



## Related topics

- [updateCreditGrant](https://docs.stigg.io/graphql-reference/mutations/updateCreditGrant.md)
- [CreditGrantInput](https://docs.stigg.io/graphql-reference/types/CreditGrantInput.md)
- [CreditGrantCouponInput](https://docs.stigg.io/graphql-reference/types/CreditGrantCouponInput.md)
- [PreviewCreditGrantInput](https://docs.stigg.io/graphql-reference/types/PreviewCreditGrantInput.md)
- [GetCreditGrantsInput](https://docs.stigg.io/graphql-reference/types/GetCreditGrantsInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.