Shopify Partner Dashboard showing deprecated API warning that doesn't exist in my code

I’m getting a persistent warning in my Partner Dashboard for a deprecated WebhookSubscription.privateMetafieldNamespaces endpoint, but I’ve searched my entire codebase and this endpoint isn’t being called anywhere.

Details:

  • Public app on Shopify App Store
  • Warning shows “last detected” daily
  • Thoroughly searched codebase - no references to privateMetafieldNamespaces
  • No third-party libraries making this call

Has anyone experienced deprecated API warnings? How did you track down the actual source?

Looking for debugging strategies or possible causes I might have missed.

Hey @RanaWaqar_Ahmad :waving_hand: - if you’re open to sharing your app ID (should be the number that appears in the URL on the app page in your partner dashboard), I can take a look on our end here to see if we can track down the API call that’s triggering that warning - hope to hear from you soon!

Hi.. @Alan_G I’m happy to share the app ID so that you can look into it and help me out on this matter.
Shopify APP ID: 34264940545

Looking forward to hear from you.

Hey @RanaWaqar_Ahmad - thanks for sharing that info. I did some digging into our logs, and it looks like a webhook subscription was created by your app using API version 2023-07 (which would have been silently “updated” to API version 2024-10 which is the oldest currently supported API version at the moment).

I do know that by default, a webhook payload will show all fields, even if your app doesn’t use them directly in an API call, so this could be what is triggering the deprecation warning here. Could you upgrade your webhhook version to to 2025-01 or later in both your Partner dashboard and in your app’s .toml file (if you’re using our app libraries). In your partner dashboard, you’d find this by selecting your app and then heading to “Configuration”:

Hope this helps resolve things - let me know if you see that warning pop up again and I’d be happy to keep looking into this :slight_smile:

Hi.. @Alan_G Thanks for responding. I’ll go through these points and update the versions in both sides. Afterwards I’ll let you know if it still persists. :slight_smile:

1 Like

Hi. @Alan_G I have updated the version to 2025-01 but there is a problem I’m facing now is that I have registered to customers/update topic for the stores that installs the app. In previous version the payload I was getting on customer update topic includes tags field in it either its empty or has tags in a comma separated string but in the version 2025-01 the tags field is missing. So, the only possible way that’s coming to my mind right now is that I have to make a request to shopify admin api to fetch the related customer tags. Or there is any other way of getting them.

Looking forward to hear from you on this matter.

Hey @RanaWaqar_Ahmad - thanks for following up I definitely agree this is a little confusing, but hopefully I can help clarify things!

As of API version 2025-01, we removed the tags field from the webhook payloads for customer-related webhook subscriptions:

That said, there’s still definitely a way to get that information without having to make an API request. We created two new webhook topics (CUSTOMER_TAGS_ADDED and CUSTOMER_TAGS_REMOVED).

The webhook payload there should contain any newly added/removed tags, but that said, if you did need to retrieve any tags that were already present on the customer’s record and weren’t added/removed you would need to make an API call to the customer object:

Hope this helps a bit, let me know if I can clarify anything further on my end here, happy to help!