Gift Card Ops Expanded, Preview Install Added, Publication Counts Updated

5/16/2026, 12:01:23 AM

The new previewInstall mutation allows the installation of a storefront preview, returning the installed theme and any user errors. Gift card operations have been updated with richer documentation for credit, debit, send notifications, and update mutations, clarifying scenarios like balance reloading and notification resending. A new isRedeemable boolean on the GiftCard type indicates whether a card can be redeemed in active market currencies. The files query now accepts original_upload_size strings with unit suffixes (B, KB, MB, GB, TB) and supports range filters for easier size queries. giftCardsCount’s description now explicitly covers all gift cards, independent of status, capped at a default maximum of 10,000. Store credit configuration wording now includes the checkout enablement status for clearer context. Publication count fields across many types have been revised to count all publications, including those with feedback errors; new enum values (READY_FOR_RECIPIENT_PICKUP, TOO_MANY_LINES, TOO_MANY_DISCOUNTS) are added. The MarketingEngagement.isCumulative field is now deprecated, urging migration to non‑cumulative metrics.

Query Changes

πŸ”„ Modified Queries (3)

files

Retrieves a paginated list of files that have been uploaded to a Shopify store. Files represent digital assets
that merchants can upload to their store for various purposes including product images, marketing materials,
documents, and brand assets.

Use the files query to retrieve information associated with the following workflows:

Files can include multiple content types,
such as images, videos, 3D models, and generic files. Each file has
properties like dimensions, file size, alt text for accessibility, and upload status. Files can be filtered
by media type and can be associated with
products,
themes,
and other store resources.

~ Modified argument: query
giftCardsCount

Returns the total count of gift cards that have been issued by the shop. Use this for dashboard summaries or to understand the scale of a merchant's gift card program. The count includes all gift cards regardless of status (active, disabled, or fully redeemed). Limited to a maximum of 10000 by default.

storeCreditConfiguration

Returns the store credit configuration for a shop, including whether store credit is enabled for customers at checkout. Use this to display the current state of a merchant's store credit program or check eligibility before issuing store credit to customers.

Mutation Changes

βž• Added Mutations (1)

previewInstall

Installs storefront generation preview for shop.

πŸ”„ Modified Mutations (5)

giftCardCredit

Adds funds to an existing gift card, increasing its available balance. Use this when a merchant wants to top up a customer's gift card β€” for example, as a promotional bonus, a customer service gesture, or to reload a reusable gift card.

giftCardDebit

Removes funds from a gift card, decreasing its available balance. Use this for manual balance adjustments β€” for example, correcting an accidental over-credit or applying a fee.

giftCardSendNotificationToCustomer

Sends a notification to the customer who purchased a gift card, including the gift card details and code. The notification is delivered using the customer's available contact method. Use this to resend the purchase confirmation or remind the purchaser about a gift card they bought.

giftCardSendNotificationToRecipient

Sends a notification to the designated recipient of a gift card, delivering the gift card code and redemption instructions. The notification is delivered using the recipient's available contact method. Use this to deliver or re-deliver the gift card to the intended recipient.

giftCardUpdate

Updates the properties of an existing gift card, such as its expiration date, note, or template suffix. Use this to modify gift card details β€” for example, extending an expiration date for a loyal customer or adding an internal note for tracking purposes.

Type Changes

βž• Added Types (3)

πŸ—οΈPreviewInstallPayloadβž• AddedOBJECT

Return type for previewInstall mutation.

Fields: newTheme, userErrors
πŸ—οΈPreviewInstallUserErrorβž• AddedOBJECT

An error that occurs during the execution of PreviewInstall.

Fields: code, field, message
πŸ“‹PreviewInstallUserErrorCodeβž• AddedENUM

Possible error codes that can be returned by PreviewInstallUserError.

Values: INTERNAL_ERROR

πŸ”„ Modified Types (9)

πŸ—οΈCollectionπŸ”„ Modified
πŸ”„ Field modified: publicationCount
πŸ”„ Field modified: resourcePublicationsCount
πŸ—οΈFulfillmentDisplayStatusπŸ”„ Modified
βž• Enum value added: READY_FOR_RECIPIENT_PICKUP
πŸ—οΈFulfillmentEventStatusπŸ”„ Modified
βž• Enum value added: READY_FOR_RECIPIENT_PICKUP
πŸ—οΈGiftCardπŸ”„ Modified
βž• Field added: isRedeemable

Whether the gift card is redeemable in any active market currency.

πŸ—οΈMarketingEngagementπŸ”„ Modified
πŸ”„ Field modified: isCumulative
πŸ—οΈProductπŸ”„ Modified
πŸ”„ Field modified: publicationCount
πŸ”„ Field modified: resourcePublicationsCount
πŸ—οΈProductVariantπŸ”„ Modified
πŸ”„ Field modified: publicationCount
πŸ”„ Field modified: resourcePublicationsCount
πŸ—οΈPublishableπŸ”„ Modified
πŸ”„ Field modified: publicationCount
πŸ”„ Field modified: resourcePublicationsCount
πŸ—οΈSubscriptionDraftErrorCodeπŸ”„ Modified
βž• Enum value added: TOO_MANY_LINES
βž• Enum value added: TOO_MANY_DISCOUNTS