Tags:
- Admin GraphQL API
- 2026-04
The GiftCardConfiguration object now includes default gift card expiration
GiftCardConfiguration object now includes default gift card expirationYou can now query a merchant's default gift card expiration settings using the GraphQL Admin API.
The new field on the object returns the merchant's configured expiration settings, including the duration value and time unit (days, months, or years). When merchants have automatic gift card expiration enabled, you can use these settings to calculate the date for new gift cards.
How it works
- The
field returns either: - The
object includes:
Example query
query {
giftCardConfiguration {
expirationConfiguration {
expirationValue
expirationUnit
}
}
}
Was this section helpful?