Deprecated cartDiscountCodesUpdate (missing discountCodes) attributed to our app — but our code never calls it. How to identify the source store?

@Wes-Dev-Shopify
@Donal-Shopify

An update from STOQ on the unsupported-app banner.

We just received a response from Developer Support regarding this issue. Developer Support traced part of our flagged traffic to a query called StoqSettings on Storefront API 2025-07. Their view: since the query is consistent across hundreds of shops, they can’t treat it all as third-party use, so the notice stays while deprecated requests attributed to the app are still detected.

StoqSettings was ours. It was inlined in our theme app extension’s app embed, and we changed the version from 2025-07 to 2026-07 around 9 September (v583) and we replaced it completely in the version we released around 23 September (v590). Current STOQ code (v600) makes no 2025-07 calls. It’s still being called because Shopify keeps serving storefront HTML rendered by older versions of our app embed:

  • In the last 24 hours, ~830 shops served our app-embed HTML from the 2025-07 builds. That HTML was rendered between late June and early September, with a median age of ~49 days.
  • Another ~1,165 shops served HTML from the builds after that, which still had the old query but were on the new 2026-07 version.
  • The oldest actively running version is v525 which is 4 months old.
  • This was tracked using the Shopify Pixel, we have all events sent by the Pixel also carry the current theme app extension version.
  • Because the code is in the rendered page, every buyer who gets one of those cached pages runs the old request, even though the app embed was updated weeks ago.

We can’t invalidate those renders. Updating the app extension doesn’t refresh them, and there’s no API to trigger it. So with theme app extensions, “deprecated calls attributed to the app” will include our own superseded code for weeks or months after we ship a fix. That’s on top of third-party reuse of the public token, which we can’t control either.

Enforcing on that signal means penalising an app that has already shipped the fix. Could Shopify either:

  • invalidate cached app-embed renders when an app releases a new extension version, or
  • base the unsupported status on what the current app version calls, not on traffic from stale cached pages?

I think enforcing it at all doesn’t make sense given what it is but I am sure we can come to some compromise.

Hoping for a speedy solution!