How to target Microsoft store API via PackageFullName / Version Included?

Jason Smitj 0 Reputation points
2025-06-27T12:18:58.01+00:00
Microsoft Edge | Microsoft Edge development
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jay Pham (WICLOUD CORPORATION) 175 Reputation points Microsoft External Staff
    2025-08-12T03:32:22.7033333+00:00

    Hi Jason Smitj,

    Welcome to Microsoft Q&A .I'm a Support Engineer specializing in Microsoft Edge. I’m happy to assist you today.

    What you’re experiencing relates to querying the Microsoft Store Catalog API using PackageFullName that includes a version. This usually fails if the PackageFullName used does not match the installed app version, since the version changes with each app update.

    How to Troubleshoot and Resolve This

    Solution 1: Use PowerShell on Windows to Retrieve the Latest PackageFullName

    You can run this command in PowerShell:

    Get-AppxPackage -Name <AppName> | Select-Object -First 1 -ExpandProperty PackageFullName
    

    This command returns the current PackageFullName including the version, ensuring your API queries use the correct, up-to-date identifier.

    Additional tip:
    PowerShell’s Get-AppxPackage can also list all installed Microsoft Store apps on the machine, along with their PackageFullName and PackageFamilyName. For example:

    Get-AppxPackage | Select-Object Name, PackageFullName, PackageFamilyName
    

    This is useful for automating retrieval of app identifiers before querying the Store Catalog API.


    Solution 2: Query the API Using PackageFamilyName Instead of PackageFullName

    Since PackageFamilyName does not contain the version number, it remains constant across app updates, making API queries more stable. Example:

    https://displaycatalog.md.mp.microsoft.com/v7.0/products/lookup?market=US&languages=en-US&alternateId=PackageFamilyName&value=<PackageFamilyName>
    

    Important Notes

    • The Microsoft Store Catalog API is an internal, unofficial API that might change or have limited support.
    • For best results, combine both methods: try querying by PackageFullName first; if it fails, fallback to PackageFamilyName.
    • You can also find a detailed walkthrough in our documentation here:
      👉 Get-AppxPackage - Microsoft Docs

    I hope this helps you resolve the issue quickly! If you agree with our suggestions, please proceed accordingly, and feel free to reach out for further assistance.

    0 comments No comments

  2. Jay Pham (WICLOUD CORPORATION) 175 Reputation points Microsoft External Staff
    2025-08-12T03:45:44.3466667+00:00

    Hi Jason Smit,

    Thank you for reaching out to Microsoft Q&A. I’m happy to assist you today.

    What you’re experiencing relates to querying the Microsoft Store Catalog API using PackageFullName that includes a version. This usually fails if the PackageFullName used does not match the installed app version, since the version changes with each app update.

    Here are solutions you can try:

    Solution 1: Use PowerShell on Windows to Retrieve the Latest PackageFullName

    You can run this command in PowerShell:

    Get-AppxPackage -Name <AppName> | Select-Object -First 1 -ExpandProperty PackageFullName
    

    This command returns the current PackageFullName including the version, ensuring your API queries use the correct, up-to-date identifier.

    Additional tip:
    PowerShell’s Get-AppxPackage can also list all installed Microsoft Store apps on the machine, along with their PackageFullName and PackageFamilyName. For example:

    Get-AppxPackage | Select-Object Name, PackageFullName, PackageFamilyName
    

    This is useful for automating retrieval of app identifiers before querying the Store Catalog API.


    Solution 2: Query the API Using PackageFamilyName Instead of PackageFullName

    Since PackageFamilyName does not contain the version number, it remains constant across app updates, making API queries more stable. Example:

    https://displaycatalog.md.mp.microsoft.com/v7.0/products/lookup?market=US&languages=en-US&alternateId=PackageFamilyName&value=<PackageFamilyName>
    

    Important Notes

    • The Microsoft Store Catalog API is an internal, unofficial API that might change or have limited support.
    • For best results, combine both methods: try querying by PackageFullName first; if it fails, fallback to PackageFamilyName.
    • You can also find a detailed walkthrough in our documentation here:
      👉 Get-AppxPackage - Microsoft Docs

    I hope this helps you resolve the issue quickly! If you agree with our suggestions, please proceed accordingly, and feel free to reach out for further assistance.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.